From 824027581d88fda2cb5987ff38685936e6805370 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 9 Jan 2010 09:48:46 +0000 Subject: 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. ........ --- Doc/library/inspect.rst | 6 +++--- 1 file 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)`` -- cgit v0.12