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

Method __init__

Lib/tkinter/__init__.py:625–635  ·  view source on GitHub ↗

Construct a boolean variable. MASTER can be given as master widget. VALUE is an optional value (defaults to False) NAME is an optional Tcl name (defaults to PY_VARnum). If NAME matches an existing variable and VALUE is omitted then the existing value is reta

(self, master=None, value=None, name=None)

Source from the content-addressed store, hash-verified

623 _default = False
624
625 def __init__(self, master=None, value=None, name=None):
626 """Construct a boolean variable.
627
628 MASTER can be given as master widget.
629 VALUE is an optional value (defaults to False)
630 NAME is an optional Tcl name (defaults to PY_VARnum).
631
632 If NAME matches an existing variable and VALUE is omitted
633 then the existing value is retained.
634 """
635 Variable.__init__(self, master, value, name)
636
637 def set(self, value):
638 """Set the variable to VALUE."""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected