pdoc
pdoc copied to clipboard
Pdoc fails if a base class uses a NotImplementedError
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 only AttributeError. It should also catch NotImplementedError
Steps to Reproduce
- Take any class in an existing library and insert a
raisestatement for aNotImplementedError - Run
pdoc --html some_libwheresome_libis the name of the aforementioned lib.
Additional info
- pdoc version: 0.10.0