From: Yury Selivanov Date: Tue, 1 Apr 2014 14:17:08 +0000 (-0400) Subject: inspect: Remove references to Python-3000 X-Git-Tag: v3.5.0a1~1971 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0cf3ed60d089cf2a2671fa66cdaa184980914086;p=thirdparty%2FPython%2Fcpython.git inspect: Remove references to Python-3000 --- diff --git a/Lib/inspect.py b/Lib/inspect.py index 68a57f96d90f..28c767c48948 100644 --- a/Lib/inspect.py +++ b/Lib/inspect.py @@ -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. """