MCPcopy Index your code
hub / github.com/RustPython/RustPython / exists

Method exists

Lib/tkinter/ttk.py:1243–1246  ·  view source on GitHub ↗

Returns True if the specified item is present in the tree, False otherwise.

(self, item)

Source from the content-addressed store, hash-verified

1241
1242
1243 def exists(self, item):
1244 """Returns True if the specified item is present in the tree,
1245 False otherwise."""
1246 return self.tk.getboolean(self.tk.call(self._w, "exists", item))
1247
1248
1249 def focus(self, item=None):

Callers 15

mainFunction · 0.45
mainFunction · 0.45
makedirsFunction · 0.45
renamesFunction · 0.45
findFunction · 0.45
getsourcefileFunction · 0.45
cliFunction · 0.45
_init_pathinfoFunction · 0.45
addpackageFunction · 0.45
copyfileFunction · 0.45
_copytreeFunction · 0.45

Calls 2

getbooleanMethod · 0.45
callMethod · 0.45

Tested by 6

_module_relative_pathFunction · 0.36
setUpClassMethod · 0.36
test_copies_fileMethod · 0.36
test_copies_directoryMethod · 0.36