pdoc3 / pdoc

:snake: :arrow_right: :scroll: Auto-generate API documentation for Python projects
https://pdoc3.github.io/pdoc/
GNU Affero General Public License v3.0
1.13k stars 145 forks source link

show_inherited_members doesn't work for empty docstring #322

Open MarshalX opened 3 years ago

MarshalX commented 3 years ago

Expected Behavior

method1 should display as method2 but with mark "Inherited from".

Actual Behavior

method1 of class test2 is not displayed.

Steps to Reproduce

  1. Clone https://github.com/MarshalX/pydoc_issue.
  2. Run command from readme.

Additional info

If I add a docstring to method1, it will appear (method0 as an example). I would like to appear this method with an empty docstring.