##// END OF EJS Templates
remove PY3 var
Srinivas Reddy Thatiparthy -
Show More
@@ -35,7 +35,7 b' from IPython.utils.path import compress_user'
35 35 from IPython.utils.text import indent
36 36 from IPython.utils.wildcard import list_namespace
37 37 from IPython.utils.coloransi import TermColors, ColorScheme, ColorSchemeTable
38 from IPython.utils.py3compat import cast_unicode, PY3
38 from IPython.utils.py3compat import cast_unicode
39 39 from IPython.utils.colorable import Colorable
40 40 from IPython.utils.decorators import undoc
41 41
@@ -216,7 +216,7 b' def getargspec(obj):'
216 216 if safe_hasattr(obj, '__call__') and not is_simple_callable(obj):
217 217 obj = obj.__call__
218 218
219 return inspect.getfullargspec(obj) if PY3 else inspect.getargspec(obj)
219 return inspect.getfullargspec(obj)
220 220
221 221
222 222 def format_argspec(argspec):
General Comments 0
You need to be logged in to leave comments. Login now