]> granicus.if.org Git - python/commitdiff
inspect: Remove references to Python-3000
authorYury Selivanov <yselivanov@sprymix.com>
Tue, 1 Apr 2014 14:17:08 +0000 (10:17 -0400)
committerYury Selivanov <yselivanov@sprymix.com>
Tue, 1 Apr 2014 14:17:08 +0000 (10:17 -0400)
Lib/inspect.py

index 68a57f96d90f339986e17c8e05709a5bf0a22be1..28c767c489486cd131e481bf9a239ef1be84493f 100644 (file)
@@ -17,7 +17,7 @@ Here are some of the useful functions provided by this module:
     getclasstree() - arrange classes so as to represent their hierarchy
 
     getargspec(), getargvalues(), getcallargs() - get info about function arguments
-    getfullargspec() - same, with support for Python-3000 features
+    getfullargspec() - same, with support for Python 3 features
     formatargspec(), formatargvalues() - format an argument spec
     getouterframes(), getinnerframes() - get info about frames
     currentframe() - get the current stack frame
@@ -920,7 +920,7 @@ def getargspec(func):
     'varargs' and 'varkw' are the names of the * and ** arguments or None.
     'defaults' is an n-tuple of the default values of the last n arguments.
 
-    Use the getfullargspec() API for Python-3000 code, as annotations
+    Use the getfullargspec() API for Python 3 code, as annotations
     and keyword arguments are supported. getargspec() will raise ValueError
     if the func has either annotations or keyword arguments.
     """