1
0
forked from VimPlug/jedi

some parser end positions changed

This commit is contained in:
David Halter
2013-04-15 10:22:27 +04:30
parent bafb17001b
commit b08390c136
5 changed files with 14 additions and 5 deletions

View File

@@ -373,6 +373,7 @@ def find_name(scope, name_str, position=None, search_global=False,
comparison_func = lambda name: (name.start_pos)
for nscope, name_list in scope_generator:
print nscope, name_list
break_scopes = []
# here is the position stuff happening (sorting of variables)
for name in sorted(name_list, key=comparison_func, reverse=True):