#7422: make it clear that getargspec() only works on Python functions.

This commit is contained in:
Georg Brandl 2010-01-09 09:47:11 +00:00
parent c25417f644
commit 8360b21270
1 changed files with 1 additions and 1 deletions

View File

@ -457,7 +457,7 @@ Classes and functions
.. function:: getargspec(func) .. function:: getargspec(func)
Get the names and default values of a function's arguments. A tuple of four Get the names and default values of a Python function's arguments. A tuple of four
things is returned: ``(args, varargs, varkw, defaults)``. *args* is a list of things is returned: ``(args, varargs, varkw, defaults)``. *args* is a list of
the argument names (it may contain nested lists). *varargs* and *varkw* are the the argument names (it may contain nested lists). *varargs* and *varkw* are the
names of the ``*`` and ``**`` arguments or ``None``. *defaults* is a tuple of names of the ``*`` and ``**`` arguments or ``None``. *defaults* is a tuple of