8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d08d4de commit 84413edCopy full SHA for 84413ed
sphinx/ext/autodoc/__init__.py
@@ -578,9 +578,9 @@ def is_filtered_inherited_member(name: str) -> bool:
578
isprivate = membername.startswith('_')
579
580
keep = False
581
- if getattr(member, '__sphinx_mock__', False):
+ if safe_getattr(member, '__sphinx_mock__', False):
582
# mocked module or object
583
- keep = False
+ pass
584
elif want_all and membername.startswith('__') and \
585
membername.endswith('__') and len(membername) > 4:
586
# special __methods__
0 commit comments