summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-09 09:48:46 (GMT)
committerGeorg Brandl <georg@python.org>2010-01-09 09:48:46 (GMT)
commit824027581d88fda2cb5987ff38685936e6805370 (patch)
tree4b29745abeba97f376da9d92774bcf6b688a3117 /Doc
parentaf77a2f371f665076f04784aa75570cd674f9e67 (diff)
downloadcpython-824027581d88fda2cb5987ff38685936e6805370.zip
cpython-824027581d88fda2cb5987ff38685936e6805370.tar.gz
cpython-824027581d88fda2cb5987ff38685936e6805370.tar.bz2
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. ........
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/inspect.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst
index 37a4f1a..cc88acf 100644
--- a/Doc/library/inspect.rst
+++ b/Doc/library/inspect.rst
@@ -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)``