diff options
-rw-r--r-- | Lib/lib-tk/Tkinter.py | 2 | ||||
-rwxr-xr-x | Lib/tkinter/Tkinter.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index 1f784fd..fd25c84 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -1123,7 +1123,7 @@ class Entry(Widget): self.tk.call(self._w, 'selection', 'clear') select_clear = selection_clear def selection_from(self, index): - self.tk.call(self._w, 'selection', 'set', index) + self.tk.call(self._w, 'selection', 'from', index) select_from = selection_from def selection_present(self): return self.tk.getboolean( diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py index 1f784fd..fd25c84 100755 --- a/Lib/tkinter/Tkinter.py +++ b/Lib/tkinter/Tkinter.py @@ -1123,7 +1123,7 @@ class Entry(Widget): self.tk.call(self._w, 'selection', 'clear') select_clear = selection_clear def selection_from(self, index): - self.tk.call(self._w, 'selection', 'set', index) + self.tk.call(self._w, 'selection', 'from', index) select_from = selection_from def selection_present(self): return self.tk.getboolean( |