Skip to content

Commit a86bb46

Browse files
committed
re-add missing sorted(set(matches)) to remove dupes - somebody thought it would be funny to take this out, and he is probably Dutch
1 parent b88b627 commit a86bb46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/repl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ def complete(self, tab=False):
526526
return False
527527
else:
528528
# remove duplicates
529-
self.matches = matches
529+
self.matches = sorted(set(matches))
530530

531531

532532
if len(self.matches) == 1 and not self.config.auto_display_list:

0 commit comments

Comments
 (0)