reverse rename sorting -> fixes issue 5 of jedi-vim

This commit is contained in:
David Halter committed 2012-09-23 11:01:37 +02:00
1 parent afcf1bd8a1
commit 111f7c637f
1 file changed
+2 -1
+2 -1
View File
@@ -344,7 +344,8 @@ class Script(object):
else:
names.append(dynamic.RelatedName(d.names[0], d))
return sorted(set(names), key=lambda x: (x.module_path, x.start_pos))
return sorted(set(names), key=lambda x: (x.module_path, x.start_pos),
reverse=True)
def get_in_function_call(self):
"""