From: Georg Brandl Date: Sat, 9 Jan 2010 09:47:11 +0000 (+0000) Subject: #7422: make it clear that getargspec() only works on Python functions. X-Git-Tag: v2.7a2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8360b21270f10fbb5a59688d1a9314a07744fbcb;p=python #7422: make it clear that getargspec() only works on Python functions. --- diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index d85ac60ca0..76c43c3f60 100644 --- a/Doc/library/inspect.rst +++ b/Doc/library/inspect.rst @@ -457,7 +457,7 @@ Classes and functions .. 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 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