]> granicus.if.org Git - python/commitdiff
Merged revisions 77382 via svnmerge from
authorGeorg Brandl <georg@python.org>
Sat, 9 Jan 2010 09:48:46 +0000 (09:48 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 9 Jan 2010 09:48:46 +0000 (09:48 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r77382 | georg.brandl | 2010-01-09 10:47:11 +0100 (Sa, 09 Jan 2010) | 1 line

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

Doc/library/inspect.rst

index 37a4f1ae683cc08635222bc48a514a06a4280da8..cc88acfa2151fab2e671f21aac426efefe7e70cd 100644 (file)
@@ -387,7 +387,7 @@ Classes and functions
 
 .. function:: getargspec(func)
 
-   Get the names and default values of a function's arguments. A
+   Get the names and default values of a Python function's arguments. A
    :term:`named tuple` ``ArgSpec(args, varargs, keywords,
    defaults)`` is returned. *args* is a list of
    the argument names. *varargs* and *varkw* are the names of the ``*`` and
@@ -402,8 +402,8 @@ Classes and functions
 
 .. function:: getfullargspec(func)
 
-   Get the names and default values of a function's arguments.  A :term:`named
-   tuple` is returned:
+   Get the names and default values of a Python function's arguments.  A
+   :term:`named tuple` is returned:
 
    ``FullArgSpec(args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults,
    annotations)``