pdoc icon indicating copy to clipboard operation
pdoc copied to clipboard

show_inherited_members doesn't work for empty docstring

Open MarshalX opened this issue 4 years ago • 0 comments

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.

  • pdoc version: pdoc3 0.9.2

MarshalX avatar Mar 11 '21 14:03 MarshalX