[Python-checkins] cpython: inspect: Remove references to Python-3000
yury.selivanov
python-checkins at python.org
Tue Apr 1 16:17:15 CEST 2014
http://hg.python.org/cpython/rev/2fbba6d68b94
changeset: 90086:2fbba6d68b94
user: Yury Selivanov <yselivanov at sprymix.com>
date: Tue Apr 01 10:17:08 2014 -0400
summary:
inspect: Remove references to Python-3000
files:
Lib/inspect.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Lib/inspect.py b/Lib/inspect.py
--- a/Lib/inspect.py
+++ b/Lib/inspect.py
@@ -17,7 +17,7 @@
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 @@
'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.
"""
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list