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.12k stars 145 forks source link

TST: use explicit ClassWithNew instead of typing.Generic #361

Closed catern closed 2 years ago

catern commented 2 years ago

typing.Generic doesn't have a new method in 3.9.

Fixes https://github.com/pdoc3/pdoc/issues/355

Cc @RaduG for review

RaduG commented 2 years ago

Looks good to me 👍 thank you

kernc commented 2 years ago

Thanks @catern for the PR and @RaduG for insight and review. :sparkles: