From 8360b21270f10fbb5a59688d1a9314a07744fbcb Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 9 Jan 2010 09:47:11 +0000 Subject: #7422: make it clear that getargspec() only works on Python functions. --- Doc/library/inspect.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/inspect.rst b/Doc/library/inspect.rst index d85ac60..76c43c3 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 -- cgit v0.12