summaryrefslogtreecommitdiffstats
path: root/Lib/inspect.py
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2014-04-01 14:17:08 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2014-04-01 14:17:08 (GMT)
commit0cf3ed60d089cf2a2671fa66cdaa184980914086 (patch)
treea40356bfa9874e1cefcf24a378540501711eb2ce /Lib/inspect.py
parent53db2b8fad1b7169af2e1eef216493a9b0c0383d (diff)
downloadcpython-0cf3ed60d089cf2a2671fa66cdaa184980914086.zip
cpython-0cf3ed60d089cf2a2671fa66cdaa184980914086.tar.gz
cpython-0cf3ed60d089cf2a2671fa66cdaa184980914086.tar.bz2
inspect: Remove references to Python-3000
Diffstat (limited to 'Lib/inspect.py')
-rw-r--r--Lib/inspect.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/inspect.py b/Lib/inspect.py
index 68a57f9..28c767c 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.
"""