mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
fix typo in tag_nextrange
This commit is contained in:
parent
b92112da0e
commit
903abee9c4
2 changed files with 2 additions and 2 deletions
|
@ -1116,7 +1116,7 @@ class Text(Widget):
|
||||||
self.tk.call(self._w, 'tag', 'names', index))
|
self.tk.call(self._w, 'tag', 'names', index))
|
||||||
def tag_nextrange(self, tagName, index1, index2=None):
|
def tag_nextrange(self, tagName, index1, index2=None):
|
||||||
return self.tk.splitlist(self.tk.call(
|
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):
|
def tag_raise(self, tagName, aboveThis=None):
|
||||||
self.tk.call(
|
self.tk.call(
|
||||||
self._w, 'tag', 'raise', tagName, aboveThis)
|
self._w, 'tag', 'raise', tagName, aboveThis)
|
||||||
|
|
|
@ -1116,7 +1116,7 @@ class Text(Widget):
|
||||||
self.tk.call(self._w, 'tag', 'names', index))
|
self.tk.call(self._w, 'tag', 'names', index))
|
||||||
def tag_nextrange(self, tagName, index1, index2=None):
|
def tag_nextrange(self, tagName, index1, index2=None):
|
||||||
return self.tk.splitlist(self.tk.call(
|
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):
|
def tag_raise(self, tagName, aboveThis=None):
|
||||||
self.tk.call(
|
self.tk.call(
|
||||||
self._w, 'tag', 'raise', tagName, aboveThis)
|
self._w, 'tag', 'raise', tagName, aboveThis)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue