summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r--Lib/lib-tk/Tkinter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py
index 2e5b69c..50039b0 100644
--- a/Lib/lib-tk/Tkinter.py
+++ b/Lib/lib-tk/Tkinter.py
@@ -1707,9 +1707,9 @@ class Text(Widget):
return self.tk.call(tuple(args))
def see(self, index):
self.tk.call(self._w, 'see', index)
- def tag_add(self, tagName, index1, index2=None):
+ def tag_add(self, tagName, index1, *args):
self.tk.call(
- self._w, 'tag', 'add', tagName, index1, index2)
+ (self._w, 'tag', 'add', tagName, index1) + args)
def tag_unbind(self, tagName, sequence, funcid=None):
self.tk.call(self._w, 'tag', 'bind', tagName, sequence, '')
if funcid: