diff options
-rw-r--r-- | Lib/lib-tk/Tkinter.py | 3 | ||||
-rwxr-xr-x | Lib/tkinter/Tkinter.py | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index a8936b5..e18c05e 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -1398,11 +1398,8 @@ class Scrollbar(Widget): class Text(Widget): def __init__(self, master=None, cnf={}, **kw): Widget.__init__(self, master, 'text', cnf, kw) - self.bind('<Delete>', self.bspace) def bbox(self, *args): return self._getints(self._do('bbox', args)) or None - def bspace(self, *args): - self.delete('insert') def tk_textSelectTo(self, index): self.tk.call('tk_textSelectTo', self._w, index) def tk_textBackspace(self): diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py index a8936b5..e18c05e 100755 --- a/Lib/tkinter/Tkinter.py +++ b/Lib/tkinter/Tkinter.py @@ -1398,11 +1398,8 @@ class Scrollbar(Widget): class Text(Widget): def __init__(self, master=None, cnf={}, **kw): Widget.__init__(self, master, 'text', cnf, kw) - self.bind('<Delete>', self.bspace) def bbox(self, *args): return self._getints(self._do('bbox', args)) or None - def bspace(self, *args): - self.delete('insert') def tk_textSelectTo(self, index): self.tk.call('tk_textSelectTo', self._w, index) def tk_textBackspace(self): |