mirror of
https://github.com/davidhalter/jedi.git
synced 2026-03-01 20:16:50 +08:00
testing should now work without duplicates
This commit is contained in:
@@ -340,7 +340,7 @@ class Script(object):
|
||||
else:
|
||||
names.append(dynamic.RelatedName(d.names[0], d))
|
||||
|
||||
return sorted(names, key=lambda x: (x.module_path, x.start_pos))
|
||||
return sorted(set(names), key=lambda x: (x.module_path, x.start_pos))
|
||||
|
||||
def get_in_function_call(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user