]> granicus.if.org Git - python/commitdiff
Fix docstring for getfullargspec().
authorBrett Cannon <bcannon@gmail.com>
Fri, 7 Sep 2007 02:12:14 +0000 (02:12 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 7 Sep 2007 02:12:14 +0000 (02:12 +0000)
Lib/inspect.py

index 35d6e596a934bfb6f41134ba465b6b0965ee36fa..97c29985f8679435f5bdaa2f735e16e927372d78 100644 (file)
@@ -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.