Commit 8360b212 authored by Georg Brandl's avatar Georg Brandl

#7422: make it clear that getargspec() only works on Python functions.

parent c25417f6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment