numpy/numpydoc

Support typing[_extensions].Doc

nstarman opened this issue · 0 comments

When(/if) https://peps.python.org/pep-0727/ is adopted then parameter and return/yield descriptions can be attached directly to the type. Having a "Parameters" section or a "Returns" section in the docs will not be necessary. Numpydoc should support typing[_extensions].Doc and the changes it implies to the docstring sections.