]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix typo in tag_nextrange
authorGuido van Rossum <guido@python.org>
Mon, 20 Mar 1995 15:09:13 +0000 (15:09 +0000)
committerGuido van Rossum <guido@python.org>
Mon, 20 Mar 1995 15:09:13 +0000 (15:09 +0000)
Lib/lib-tk/Tkinter.py
Lib/tkinter/Tkinter.py

index 0af4bce3a48c31541dbfeab64111a5f361755e16..2e3ff897127a020f804f0fc70f2e8fb1357ddfb3 100644 (file)
@@ -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)
index 0af4bce3a48c31541dbfeab64111a5f361755e16..2e3ff897127a020f804f0fc70f2e8fb1357ddfb3 100755 (executable)
@@ -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)