Releases: douglasdavis/numpydoc.el
Releases · douglasdavis/numpydoc.el
0.9
0.8
0.7
Replace instances of " | None"
with ", optional"
in the argument type of docstring.
For example:
f(a: int, b: int | str | None = None) -> float:
pass
will have a docstring of the form:
def f(a: int | str | None) -> float:
"""FIXME: Short description.
FIXME: Long description.
Parameters
----------
a : int
FIXME: Add docs.
b : int | str, optional <---- (new! previous version would have "a : int | str | None")
FIXME: Add docs.
Returns
-------
float
FIXME: Add docs.
Examples
--------
FIXME: Add docs.
"""
pass
0.6
0.5
0.4
0.3.0
0.2.0
0.1.0
Initial release.