Skip to content

Commit

Permalink
fix: Fix 'no parsing_errors attribute in Docstring' error
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Mar 21, 2020
1 parent 7d9fbeb commit 0c8a986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pytkdocs/parsers/docstrings.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ class Docstring:
def __init__(self, value, signature=None):
self.original_value = value or ""
self.signature = signature
self.sections = self.parse()
self.parsing_errors = []
self.sections = self.parse()

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

0 comments on commit 0c8a986

Please sign in to comment.