There is a bug in the parsing when a trailing comma is present in the definition.
E.g.:
def foo(x,):
"""Short summary.
Parameters
----------
x : type
Description of parameter `x`.
: type
Description of parameter ``.
Returns
-------
type
Description of returned object.
"""
pass
There is a bug in the parsing when a trailing comma is present in the definition.
E.g.: