mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Fix docstring for getfullargspec().
This commit is contained in:
parent
a5e8ab5d5c
commit
504d885417
1 changed files with 2 additions and 2 deletions
|
@ -731,8 +731,8 @@ def getargspec(func):
|
|||
def getfullargspec(func):
|
||||
"""Get the names and default values of a function's arguments.
|
||||
|
||||
A tuple of seven things is returned: (args, varargs, kwonlyargs,
|
||||
kwonlydefaults, varkw, defaults, annotations).
|
||||
A tuple of seven things is returned:
|
||||
(args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults annotations).
|
||||
'args' is a list of the argument names (it may contain nested lists).
|
||||
'varargs' and 'varkw' are the names of the * and ** arguments or None.
|
||||
'defaults' is an n-tuple of the default values of the last n arguments.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue