Commit 0cf3ed60 authored by Yury Selivanov's avatar Yury Selivanov

inspect: Remove references to Python-3000

parent 53db2b8f
...@@ -17,7 +17,7 @@ Here are some of the useful functions provided by this module: ...@@ -17,7 +17,7 @@ Here are some of the useful functions provided by this module:
getclasstree() - arrange classes so as to represent their hierarchy getclasstree() - arrange classes so as to represent their hierarchy
getargspec(), getargvalues(), getcallargs() - get info about function arguments 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 formatargspec(), formatargvalues() - format an argument spec
getouterframes(), getinnerframes() - get info about frames getouterframes(), getinnerframes() - get info about frames
currentframe() - get the current stack frame currentframe() - get the current stack frame
...@@ -920,7 +920,7 @@ def getargspec(func): ...@@ -920,7 +920,7 @@ def getargspec(func):
'varargs' and 'varkw' are the names of the * and ** arguments or None. '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. '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 and keyword arguments are supported. getargspec() will raise ValueError
if the func has either annotations or keyword arguments. if the func has either annotations or keyword arguments.
""" """
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment