From 1abb52a6aa026048dc8531bc5fb05b446a8f7c85 Mon Sep 17 00:00:00 2001 From: David Halter Date: Wed, 17 Oct 2012 21:35:07 +0200 Subject: [PATCH] python 3 error fix --- jedi/builtin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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