Skip to content

Commit 132fc25

Browse files
committed
Removed obsolete methods (see previous rev)
1 parent 82d0674 commit 132fc25

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

bpython/repl.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -536,19 +536,6 @@ def complete(self, tab=False):
536536
self.matches_iter.update(cw, self.matches)
537537
return True
538538

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-
@staticmethod
549-
def key_matches(name):
550-
return name.rsplit('.')[-1]
551-
552539
def format_docstring(self, docstring, width, height):
553540
"""Take a string and try to format it into a sane list of strings to be
554541
put into the suggestion box."""

0 commit comments

Comments
 (0)