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

Method get

Lib/tkinter/__init__.py:567–572  ·  view source on GitHub ↗

Return value of variable as string.

(self)

Source from the content-addressed store, hash-verified

565 Variable.__init__(self, master, value, name)
566
567 def get(self):
568 """Return value of variable as string."""
569 value = self._tk.globalgetvar(self._name)
570 if isinstance(value, str):
571 return value
572 return str(value)
573
574
575class IntVar(Variable):

Callers

nothing calls this directly

Calls 3

isinstanceFunction · 0.85
strFunction · 0.85
globalgetvarMethod · 0.80

Tested by

no test coverage detected