Open kjczarne opened 3 years ago
No error thrown. I have a base class in a lib that I want to document and some of the methods are deliberately marked as NotImplementedError.
NotImplementedError
_getmembers_all catches only AttributeError. It should also catch NotImplementedError
_getmembers_all
AttributeError
raise
pdoc --html some_lib
some_lib
Expected Behavior
No error thrown. I have a base class in a lib that I want to document and some of the methods are deliberately marked as
NotImplementedError
.Actual Behavior
_getmembers_all
catches onlyAttributeError
. It should also catchNotImplementedError
Steps to Reproduce
raise
statement for aNotImplementedError
pdoc --html some_lib
wheresome_lib
is the name of the aforementioned lib.Additional info