trying to fix the getattr mess with compiled

This commit is contained in:
Dave Halter committed 2014-01-10 13:36:29 +01:00
1 parent b1409c8f74
commit f868668f0e
6 files changed
+30 -18

No files matched your search

+1 -2
View File
@@ -2,7 +2,6 @@ import copy
from jedi.parser import representation as pr
from jedi.evaluate import iterable
from jedi.evaluate import compiled
from jedi.evaluate import common
@@ -140,7 +139,7 @@ def _var_args_iterator(evaluator, var_args):
continue
old = stmt
# generate a statement if it's not already one.
stmt = pr.Statement(compiled.builtin, [], (0, 0), None)
stmt = pr.Statement(_FakeSubModule, [], (0, 0), None)
stmt._expression_list = [old]
# *args