Files
openide/python/testData/quickdoc/KeywordArgsDescriptionRest.py
Mikhail Golubev 65ac1784dc PY-30359 PY-11425 Render information about keyword arguments in sections
Similarly to normal parameters we don't show those keyword arguments
that are not explicitly present in function signature and can't be
passed in because of absence of **kwargs parameter.

Additionally, I enforced the order in which sections appears, so that
information about parameters, return value and raised exceptions
was always first and also fixed the way we show single star parameter
in signatures.
2018-06-09 15:59:40 +03:00

5 lines
78 B
Python

def fu<the_ref>nc(**args):
"""
:key foo: bar
:keyword baz:
"""