change default sorting of related names to a more natural

This commit is contained in:
David Halter
2013-01-04 14:46:42 +01:00
parent e50053aa46
commit 903626f4f9
+1 -2
View File
@@ -334,8 +334,7 @@ class Script(object):
else: else:
names.append(api_classes.RelatedName(d.names[-1], d)) names.append(api_classes.RelatedName(d.names[-1], 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): def get_in_function_call(self):
""" """