diff --git a/Lib/lib-tk/Tkinter.py b/Lib/lib-tk/Tkinter.py index 2e5b69c52fc..50039b0209a 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: