MCPcopy Index your code
hub / github.com/python/cpython / set

Method set

Lib/tkinter/__init__.py:431–433  ·  view source on GitHub ↗

Set the variable to VALUE.

(self, value)

Source from the content-addressed store, hash-verified

429 return self._name
430
431 def set(self, value):
432 """Set the variable to VALUE."""
433 return self._tk.globalsetvar(self._name, value)
434
435 initialize = set
436

Callers 3

test_trace_oldMethod · 0.95
test_traceMethod · 0.95
test_variableMethod · 0.95

Calls

no outgoing calls

Tested by 3

test_trace_oldMethod · 0.76
test_traceMethod · 0.76
test_variableMethod · 0.76