[Python-3000-checkins] r58026 - python/branches/py3k/Lib/inspect.py
brett.cannon
python-3000-checkins at python.org
Fri Sep 7 04:12:14 CEST 2007
Author: brett.cannon
Date: Fri Sep 7 04:12:14 2007
New Revision: 58026
Modified:
python/branches/py3k/Lib/inspect.py
Log:
Fix docstring for getfullargspec().
Modified: python/branches/py3k/Lib/inspect.py
==============================================================================
--- python/branches/py3k/Lib/inspect.py (original)
+++ python/branches/py3k/Lib/inspect.py Fri Sep 7 04:12:14 2007
@@ -731,8 +731,8 @@
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.
More information about the Python-3000-checkins
mailing list