]> granicus.if.org Git - python/commitdiff
#7422: make it clear that getargspec() only works on Python functions.
authorGeorg Brandl <georg@python.org>
Sat, 9 Jan 2010 09:47:11 +0000 (09:47 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 9 Jan 2010 09:47:11 +0000 (09:47 +0000)
Doc/library/inspect.rst

index d85ac60ca089295f6687efc34ee0c79ef0f40d85..76c43c3f609fef69f4feb323524aa7b93ffe14dc 100644 (file)
@@ -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