We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82d0674 commit 132fc25Copy full SHA for 132fc25
bpython/repl.py
@@ -536,19 +536,6 @@ def complete(self, tab=False):
536
self.matches_iter.update(cw, self.matches)
537
return True
538
539
- @staticmethod
540
- def cmp_matches(a, b):
541
- if a.startswith(('__', '_')) and not b.startswith(('__', '_')):
542
- return 1
543
- elif b.startswith(('__', '_')) and not a.startswith(('__', '_')):
544
- return -1
545
- else:
546
- return cmp(a, b)
547
-
548
549
- def key_matches(name):
550
- return name.rsplit('.')[-1]
551
552
def format_docstring(self, docstring, width, height):
553
"""Take a string and try to format it into a sane list of strings to be
554
put into the suggestion box."""
0 commit comments