summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-03-20 15:09:13 (GMT)
committerGuido van Rossum <guido@python.org>1995-03-20 15:09:13 (GMT)
commit903abee9c4ee6205720db5a10a16d79e0386cd55 (patch)
tree1abf77663a6849d17854cea06509e86d12c85b2d
parentb92112da0e867db8fcb3c326dfe07d6c2762524d (diff)
downloadcpython-903abee9c4ee6205720db5a10a16d79e0386cd55.zip
cpython-903abee9c4ee6205720db5a10a16d79e0386cd55.tar.gz
cpython-903abee9c4ee6205720db5a10a16d79e0386cd55.tar.bz2
fix typo in tag_nextrange
-rw-r--r--Lib/lib-tk/Tkinter.py2
-rwxr-xr-xLib/tkinter/Tkinter.py2
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)