1
0
forked from VimPlug/jedi

trying to fix the getattr mess with compiled

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

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