bool
object. The only instances of
bool
in Python are False
and True
,
represented by Java Boolean.FALSE
and
Boolean.TRUE
, and there are no sub-classes. (Rogue
instances of Java Boolean
will generally behave as
False
or True
but may fail identity tests.)
Modifier and Type | Field and Description |
---|---|
public static final PyType | TYPE
The type of Python object this class implements. |
Access | Constructor and Description |
---|---|
private |
Modifier and Type | Method and Description |
---|---|
pack-priv static Object | |
pack-priv static Object | |
pack-priv static Object | |
pack-priv static Object | |
pack-priv static Object | |
pack-priv static Object | |
pack-priv static Object |
TYPE | back to summary |
---|---|
public static final PyType TYPE The type of Python object this class implements. |
PyBool | back to summary |
---|---|
private PyBool() |
__and__ | back to summary |
---|---|
pack-priv static Object __and__(Boolean v, Object w) |
__or__ | back to summary |
---|---|
pack-priv static Object __or__(Boolean v, Object w) |
__rand__ | back to summary |
---|---|
pack-priv static Object __rand__(Boolean w, Object v) |
__repr__ | back to summary |
---|---|
pack-priv static Object __repr__(Boolean self) |
__ror__ | back to summary |
---|---|
pack-priv static Object __ror__(Boolean w, Object v) |
__rxor__ | back to summary |
---|---|
pack-priv static Object __rxor__(Boolean w, Object v) |
__xor__ | back to summary |
---|---|
pack-priv static Object __xor__(Boolean v, Object w) |