From: Brett Cannon <bcannon@gmail.com> Date: Fri, 7 Sep 2007 02:12:14 +0000 (+0000) Subject: Fix docstring for getfullargspec(). X-Git-Tag: v3.0a2~429 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=504d8854176f1ee70ccb5784a2313575d420d519;p=python Fix docstring for getfullargspec(). --- diff --git a/Lib/inspect.py b/Lib/inspect.py index 35d6e596a9..97c29985f8 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.