summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-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):