Trees | Index | Help |
|
---|
Module __builtin__ :: Class bool |
|
object
--+ |int
--+ | bool
bool(x) -> bool
Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.Method Summary | |
---|---|
x.__and__(y) <==> x&y | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
x.__or__(y) <==> x|y | |
x.__rand__(y) <==> y&x | |
x.__repr__() <==> repr(x) | |
x.__ror__(y) <==> y|x | |
x.__rxor__(y) <==> y^x | |
x.__str__() <==> str(x) | |
x.__xor__(y) <==> x^y | |
Inherited from int :
__abs__ ,
__add__ ,
__cmp__ ,
__coerce__ ,
__div__ ,
__divmod__ ,
__float__ ,
__floordiv__ ,
__getattribute__ ,
__getnewargs__ ,
__hash__ ,
__hex__ ,
__int__ ,
__invert__ ,
__long__ ,
__lshift__ ,
__mod__ ,
__mul__ ,
__neg__ ,
__nonzero__ ,
__oct__ ,
__pos__ ,
__pow__ ,
__radd__ ,
__rdiv__ ,
__rdivmod__ ,
__rfloordiv__ ,
__rlshift__ ,
__rmod__ ,
__rmul__ ,
__rpow__ ,
__rrshift__ ,
__rshift__ ,
__rsub__ ,
__rtruediv__ ,
__sub__ ,
__truediv__
Inherited from object :
__init__ ,
__delattr__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__
|
Method Details |
---|
__and__(x,
y)
x.__and__(y) <==> x&y
|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
__or__(x,
y)
x.__or__(y) <==> x|y
|
__rand__(x, y)x.__rand__(y) <==> y&x
|
__repr__(x)
x.__repr__() <==> repr(x)
|
__ror__(x, y)x.__ror__(y) <==> y|x
|
__rxor__(x, y)x.__rxor__(y) <==> y^x
|
__str__(x)
x.__str__() <==> str(x)
|
__xor__(x, y)x.__xor__(y) <==> x^y
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Thu Aug 16 09:55:09 2007 | http://epydoc.sf.net |