Skip to content

Commit

Permalink
fix: Break docstring discarding loop if found
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Dec 29, 2019
1 parent 143f7cb commit 5a17fec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mkdocstrings/documenter.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,7 @@ def get_class_documentation(self, class_: Type[Any], module: Optional[ModuleType
else:
if docstring == inspect.getdoc(parent_member):
docstring = ""
break
member_class = Method
signature = inspect.signature(actual_member)
elif isinstance(member, property):
Expand Down

0 comments on commit 5a17fec

Please sign in to comment.