1
0
forked from VimPlug/jedi

other modules also adapt to the new evaluate_representation now

This commit is contained in:
David Halter
2013-02-05 17:09:57 +01:00
parent 783ed0b2a0
commit 1474dcb91c
5 changed files with 29 additions and 26 deletions

View File

@@ -14,6 +14,7 @@ import os
import parsing
import parsing_representation as pr
import evaluate_representation as er
import dynamic
import imports
import evaluate
@@ -103,7 +104,7 @@ class Script(object):
completions = []
debug.dbg('possible scopes', scopes)
for s in scopes:
if s.isinstance(evaluate.Function):
if s.isinstance(er.Function):
names = s.get_magic_method_names()
else:
if isinstance(s, imports.ImportPath):