Searched refs:__bool__ (Results 1 - 3 of 3) sorted by relevance

/pkg/src/modules/client/
H A Dactuator.py166 # called __nonzero__() while Python 3 uses __bool__(). For Python
167 # 2 and 3 compatibility, define __bool__() only, and let
168 # __nonzero__ = __bool__
169 def __bool__(self): member in class:Actuator
173 __nonzero__ = __bool__
H A Dprogress.py349 # called __nonzero__() while Python 3 uses __bool__(). For Python
350 # 2 and 3 compatibility, define __bool__() only, and let
351 # __nonzero__ = __bool__
352 def __bool__(self): member in class:OutSpec
355 __nonzero__ = __bool__
/pkg/src/modules/client/transport/
H A Dtransport.py3336 # called __nonzero__() while Python 3 uses __bool__(). For Python
3337 # 2 and 3 compatibility, define __bool__() only, and let
3338 # __nonzero__ = __bool__
3339 def __bool__(self): member in class:MultiXfr
3342 __nonzero__ = __bool__

Completed in 59 milliseconds