fix typo in tag_nextrange

This commit is contained in:
Guido van Rossum 1995-03-20 15:09:13 +00:00
parent b92112da0e
commit 903abee9c4
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)