We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0646abb commit 4b11774Copy full SHA for 4b11774
Lib/_pyrepl/fancycompleter.py
@@ -100,7 +100,6 @@ def attr_matches(self, text):
100
noprefix = '__'
101
else:
102
noprefix = None
103
- words = sorted(words)
104
while True:
105
for word in words:
106
if (
@@ -131,6 +130,7 @@ def attr_matches(self, text):
131
130
if prefix and prefix != attr:
132
return [f'{expr}.{prefix}'] # autocomplete prefix
133
+ names.sort()
134
if self.use_colors:
135
return self.colorize_matches(names, values)
136
0 commit comments