Skip to content

Commit 4709825

Browse files
committed
Remove unused function
1 parent 9b99543 commit 4709825

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

bpython/curtsiesfrontend/manual_readline.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
and the cursor location
55
based on http://www.bigsmoke.us/readline/shortcuts"""
66

7-
from ..lazyre import LazyReCompile
87
import inspect
98

9+
from ..lazyre import LazyReCompile
1010
from ..line import cursor_on_closing_char_pair
1111

1212
INDENT = 4
@@ -68,12 +68,6 @@ def call(self, key, **kwargs):
6868
args = {k: v for k, v in kwargs.items() if k in params}
6969
return func(**args)
7070

71-
def call_without_cut(self, key, **kwargs):
72-
"""Looks up the function and calls it, returning only line and cursor
73-
offset"""
74-
r = self.call_for_two(key, **kwargs)
75-
return r[:2]
76-
7771
def __contains__(self, key):
7872
return key in self.simple_edits or key in self.cut_buffer_edits
7973

0 commit comments

Comments
 (0)