mirror of https://github.com/python/cpython
Transplant 45287f2799f5 from default branch.
This commit is contained in:
parent
5fc56eb1ca
commit
f14a2bf3bc
|
@ -1253,7 +1253,7 @@ class Treeview(Widget, Tkinter.XView, Tkinter.YView):
|
|||
|
||||
|
||||
def exists(self, item):
|
||||
"""Returns True if the specified item is present in the three,
|
||||
"""Returns True if the specified item is present in the tree,
|
||||
False otherwise."""
|
||||
return bool(self.tk.call(self._w, "exists", item))
|
||||
|
||||
|
|
Loading…
Reference in New Issue