Skip to content

Releases: douglasdavis/numpydoc.el

0.9

25 Jul 02:14
0.9
5cb26db
Compare
Choose a tag to compare

0.8

20 Mar 14:41
0.8
f9ec925
Compare
Choose a tag to compare
0.8

0.7

04 Mar 15:51
0.7
1b8c5ef
Compare
Choose a tag to compare
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

19 Jan 16:56
0.6
7b80343
Compare
Choose a tag to compare
0.6

See NEWS

0.5

11 Aug 15:00
99e955f
Compare
Choose a tag to compare
0.5

See NEWS

0.4

23 May 17:48
0.4
b8efad7
Compare
Choose a tag to compare
0.4

See NEWS

0.3.0

10 May 16:01
0.3.0
01c067e
Compare
Choose a tag to compare

See NEWS

0.2.0

05 Mar 20:09
0.2.0
1549f36
Compare
Choose a tag to compare

See NEWS

0.1.0

05 Mar 20:01
fcbdeca
Compare
Choose a tag to compare

Initial release.