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

Method get

Lib/tkinter/__init__.py:643–648  ·  view source on GitHub ↗

Return the value of the variable as a bool.

(self)

Source from the content-addressed store, hash-verified

641 initialize = set
642
643 def get(self):
644 """Return the value of the variable as a bool."""
645 try:
646 return self._tk.getboolean(self._tk.globalgetvar(self._name))
647 except TclError:
648 raise ValueError("invalid literal for getboolean()")
649
650
651def mainloop(n=0):

Callers

nothing calls this directly

Calls 2

globalgetvarMethod · 0.80
getbooleanMethod · 0.45

Tested by

no test coverage detected