I think that the extraction of default value from the numpy stile doc-string is broken.
If I have a docstring:
doc = """
Parameters
----------
a: str, optional
bla bla
Default is 'abc'.
"""
print(parse(doc).params[0].default)
'is'
The result is is and not the abc. I suspect that regexp parsing recover incorrect group.
I use dockstring_parser version 0.17.0 installed using pip.
I think that the extraction of default value from the numpy stile doc-string is broken.
If I have a docstring:
The result is
isand not theabc. I suspect that regexp parsing recover incorrect group.I use
dockstring_parserversion0.17.0installed using pip.