Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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/m/u/murderrl-HEAD/interface/console/__init__.py   murderrl(Download)
def select (priority="curse"):
    Select a supported interface.
    if not curse.UNAVAILABLE and (priority == "curse" or win32.UNAVAILABLE):
        return curse
    if not win32.UNAVAILABLE and (priority == "win32" or curse.UNAVAILABLE):