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.14k stars 146 forks source link

BUG: Fix crash on `NotImplementedError` #354

Closed kjczarne closed 3 years ago

kjczarne commented 3 years ago

Closes #353

It's a simple fix. Didn't seem to affect the unit tests run. Lmk if this is ok. 😄

kernc commented 3 years ago

Didn't seem to affect the unit tests run.

Fixing the bug didn't affect the current unit tests because there are no tests in place preventing the introduction of the same bug in the future. If you'd care to add a simple test showing that documenting a class method that raises NotImplementedError now works (and previously didn't), I'd in fact love to see this through. :sweat_smile: