forked from VimPlug/jedi
trying to fix the getattr mess with compiled
This commit is contained in:
@@ -258,7 +258,10 @@ class Evaluator(object):
|
||||
call.stmt.parent = loop
|
||||
result += self.eval_statement(call.stmt)
|
||||
else:
|
||||
if isinstance(call, pr.Lambda):
|
||||
if isinstance(call, compiled.PyName):
|
||||
print call, call.parent
|
||||
result.append(call.parent)
|
||||
elif isinstance(call, pr.Lambda):
|
||||
result.append(er.Function(self, call))
|
||||
# With things like params, these can also be functions...
|
||||
elif isinstance(call, pr.Base) and call.isinstance(
|
||||
|
||||
Reference in New Issue
Block a user