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/2/0/20questions-HEAD/webinterface.py   20questions(Download)
    def GET(self):
        '''Shows the index page and asks the questions.'''
 
        if config.DISPLAY_CANDIDATES: # clean up this section somehow
            nearby_objects_values = game.get_nearby_objects_values(session.objects_values, how_many=10)