mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-19 14:59:41 +08:00
python 3 error fix
This commit is contained in:
+1
-1
@@ -178,7 +178,7 @@ class Parser(CachedModule):
|
|||||||
return {}
|
return {}
|
||||||
else:
|
else:
|
||||||
mixin_dct = process_code(f.read())
|
mixin_dct = process_code(f.read())
|
||||||
if is_py3k and self.name == _Builtin.name:
|
if is_py3k and self.name == Builtin.name:
|
||||||
# in the case of Py3k xrange is now range
|
# in the case of Py3k xrange is now range
|
||||||
mixin_dct['range'] = mixin_dct['xrange']
|
mixin_dct['range'] = mixin_dct['xrange']
|
||||||
return mixin_dct
|
return mixin_dct
|
||||||
|
|||||||
Reference in New Issue
Block a user