From: Guido van Rossum Date: Mon, 20 Mar 1995 15:09:13 +0000 (+0000) Subject: fix typo in tag_nextrange X-Git-Tag: v1.2b4~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=903abee9c4ee6205720db5a10a16d79e0386cd55;p=thirdparty%2FPython%2Fcpython.git fix typo in tag_nextrange --- diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index 0af4bce3a48c..2e3ff897127a 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 0af4bce3a48c..2e3ff897127a 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)