Skip to content

Commit 0c8a986

Browse files
committed
fix: Fix 'no parsing_errors attribute in Docstring' error
1 parent 7d9fbeb commit 0c8a986

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/pytkdocs/parsers/docstrings.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ class Docstring:
121121
def __init__(self, value, signature=None):
122122
self.original_value = value or ""
123123
self.signature = signature
124-
self.sections = self.parse()
125124
self.parsing_errors = []
125+
self.sections = self.parse()
126126

127127
def parse(self, replace_admonitions: bool = True) -> List[Section]:
128128
"""

0 commit comments

Comments
 (0)