summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-07-06 21:16:58 (GMT)
committerGuido van Rossum <guido@python.org>1994-07-06 21:16:58 (GMT)
commit51135691516dae9346648e99f30f6404fc90c087 (patch)
treed2eb569b23cf71bb000d96888854bf70a01fff10
parent5179236a41994d3e2edc7dde87901b0ab3545b86 (diff)
downloadcpython-51135691516dae9346648e99f30f6404fc90c087.zip
cpython-51135691516dae9346648e99f30f6404fc90c087.tar.gz
cpython-51135691516dae9346648e99f30f6404fc90c087.tar.bz2
tag_remove: add tagName to tk call
-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 89255b9..72e702c 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -1094,7 +1094,7 @@ class Text(Widget):
self._w, 'tag', 'ranges', tagName))
def tag_remove(self, tagName, index1, index2=None):
self.tk.call(
- self._w, 'tag', 'remove', index1, index2)
+ self._w, 'tag', 'remove', tagName, index1, index2)
def yview(self, what):
self.tk.call(self._w, 'yview', what)
def yview_pickplace(self, what):
diff --git a/Lib/tkinter/Tkinter.py b/Lib/tkinter/Tkinter.py
index 89255b9..72e702c 100755
--- a/Lib/tkinter/Tkinter.py
+++ b/Lib/tkinter/Tkinter.py
@@ -1094,7 +1094,7 @@ class Text(Widget):
self._w, 'tag', 'ranges', tagName))
def tag_remove(self, tagName, index1, index2=None):
self.tk.call(
- self._w, 'tag', 'remove', index1, index2)
+ self._w, 'tag', 'remove', tagName, index1, index2)
def yview(self, what):
self.tk.call(self._w, 'yview', what)
def yview_pickplace(self, what):