| Trees | Indices | Help |
|
|---|
|
|
object --+
|
Tristate
Tri-state value: on, off or auto
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
|
|||
ON = True
|
|||
OFF = False
|
|||
AUTO = -1
|
|||
_VALID_NAMES =
|
|||
|
|||
|
state Get current state |
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
>>> Tristate('on').__repr__() 'on' >>> Tristate(True).__repr__() 'on' >>> Tristate(False).__repr__() 'off' >>> Tristate('auto').__repr__() 'auto'
|
Run function if tristate is on or auto, only report a failure if tristate is on since failing is o.k. for autodetect. |
|
|||
stateGet current state
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sat Jul 8 08:10:17 2017 | http://epydoc.sourceforge.net |