1
0
forked from VimPlug/jedi

temporary commit: function behaviour changes

This commit is contained in:
David Halter
2012-05-21 17:42:46 +02:00
parent fd1246818a
commit 1ee26a09c6
5 changed files with 316 additions and 243 deletions

View File

@@ -154,7 +154,7 @@ def complete(source, row, column, source_path):
for s in scopes:
# TODO is this reall the right way? just ignore the functions? \
# do the magic functions first? and then recheck here?
if not isinstance(s, parsing.Function):
if not isinstance(s, evaluate.Function):
completions += s.get_defined_names()
completions = [c for c in completions