summaryrefslogtreecommitdiffstats
path: root/Lib/inspect.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-09-07 02:12:14 (GMT)
committerBrett Cannon <bcannon@gmail.com>2007-09-07 02:12:14 (GMT)
commit504d8854176f1ee70ccb5784a2313575d420d519 (patch)
tree4bd54d15f12a9cccbe60c76187de75bd0e54a544 /Lib/inspect.py
parenta5e8ab5d5cf4d8ebe5e40e30e0ae8ab7d7438a83 (diff)
downloadcpython-504d8854176f1ee70ccb5784a2313575d420d519.zip
cpython-504d8854176f1ee70ccb5784a2313575d420d519.tar.gz
cpython-504d8854176f1ee70ccb5784a2313575d420d519.tar.bz2
Fix docstring for getfullargspec().
Diffstat (limited to 'Lib/inspect.py')
-rw-r--r--Lib/inspect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index 35d6e59..97c2998 100644
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -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.