mirror of https://github.com/python/cpython
Merged revisions 77382 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77382 | georg.brandl | 2010-01-09 10:47:11 +0100 (Sa, 09 Jan 2010) | 1 line #7422: make it clear that getargspec() only works on Python functions. ........
This commit is contained in:
parent
af77a2f371
commit
824027581d
|
@ -387,7 +387,7 @@ Classes and functions
|
|||
|
||||
.. function:: getargspec(func)
|
||||
|
||||
Get the names and default values of a function's arguments. A
|
||||
Get the names and default values of a Python function's arguments. A
|
||||
:term:`named tuple` ``ArgSpec(args, varargs, keywords,
|
||||
defaults)`` is returned. *args* is a list of
|
||||
the argument names. *varargs* and *varkw* are the names of the ``*`` and
|
||||
|
@ -402,8 +402,8 @@ Classes and functions
|
|||
|
||||
.. function:: getfullargspec(func)
|
||||
|
||||
Get the names and default values of a function's arguments. A :term:`named
|
||||
tuple` is returned:
|
||||
Get the names and default values of a Python function's arguments. A
|
||||
:term:`named tuple` is returned:
|
||||
|
||||
``FullArgSpec(args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults,
|
||||
annotations)``
|
||||
|
|
Loading…
Reference in New Issue