Skip to content

Commit 82d0674

Browse files
committed
Removed sorting, not necessary because of the hiding of _x unless explicitly given.
1 parent 9a58db4 commit 82d0674

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

bpython/repl.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -524,9 +524,8 @@ def complete(self, tab=False):
524524
if not self.argspec:
525525
return False
526526
else:
527-
# remove duplicates and restore order
528-
self.matches = sorted(set(matches), self.cmp_matches,
529-
self.key_matches)
527+
# remove duplicates
528+
self.matches = matches
530529

531530

532531
if len(self.matches) == 1 and not OPTS.auto_display_list:

0 commit comments

Comments
 (0)