diff options
author | Georg Brandl <georg@python.org> | 2010-01-09 09:47:11 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-01-09 09:47:11 (GMT) |
commit | 8360b21270f10fbb5a59688d1a9314a07744fbcb (patch) | |
tree | 3418fcfb6450c23a21b34e176a859278e739809c | |
parent | c25417f64467f00bc4f271f5979810ea13563a9f (diff) | |
download | cpython-8360b21270f10fbb5a59688d1a9314a07744fbcb.zip cpython-8360b21270f10fbb5a59688d1a9314a07744fbcb.tar.gz cpython-8360b21270f10fbb5a59688d1a9314a07744fbcb.tar.bz2 |
#7422: make it clear that getargspec() only works on Python functions.
-rw-r--r-- | Doc/library/inspect.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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 |