From 903abee9c4ee6205720db5a10a16d79e0386cd55 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 20 Mar 1995 15:09:13 +0000 Subject: fix typo in tag_nextrange --- Lib/lib-tk/Tkinter.py | 2 +- 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 0af4bce..2e3ff89 100644 --- a/Lib/lib-tk/Tkinter.py +++ b/Lib/lib-tk/Tkinter.py @@ -1116,7 +1116,7 @@ class Text(Widget): self.tk.call(self._w, 'tag', 'names', index)) def tag_nextrange(self, tagName, index1, index2=None): return self.tk.splitlist(self.tk.call( - self._w, 'tag', 'nextrange', index1, index2)) + self._w, 'tag', 'nextrange', tagName, index1, index2)) def tag_raise(self, tagName, aboveThis=None): self.tk.call( self._w, 'tag', 'raise', tagName, aboveThis) diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py index 0af4bce..2e3ff89 100755 --- a/Lib/tkinter/Tkinter.py +++ b/Lib/tkinter/Tkinter.py @@ -1116,7 +1116,7 @@ class Text(Widget): self.tk.call(self._w, 'tag', 'names', index)) def tag_nextrange(self, tagName, index1, index2=None): return self.tk.splitlist(self.tk.call( - self._w, 'tag', 'nextrange', index1, index2)) + self._w, 'tag', 'nextrange', tagName, index1, index2)) def tag_raise(self, tagName, aboveThis=None): self.tk.call( self._w, 'tag', 'raise', tagName, aboveThis) -- cgit v0.12