Open
Description
Is there a standard way for the docstring to tell the user that the arguments (or following arguments) are keyword only? Other than some note for each argument? I mean for a situation like this:
def my_func(a, *, b, c):
""" My function does stuff
a : object
Something about `a`.
b : object, keyword-only
Something about `b`.
c : object, keyword-only
Something about `c`.
"""
print(a, b, c)
Metadata
Metadata
Assignees
Labels
No labels