Did I find the right examples for you? yes no

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)
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.

src/h/e/helios-HEAD/base/utils.py   helios(Download)
def log(msg):
    if config.DEBUG and config.PYTHON_DEBUG:
        prepend = '============>'
        cherrypy.log(prepend + ' ' + msg)