diff --git a/jedi/builtin.py b/jedi/builtin.py index 87060009..13cd7da1 100644 --- a/jedi/builtin.py +++ b/jedi/builtin.py @@ -178,7 +178,7 @@ class Parser(CachedModule): return {} else: 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 mixin_dct['range'] = mixin_dct['xrange'] return mixin_dct