(self)
return console.key_pressed()
Number of characters waiting to be read.
Number of characters waiting to be read.
Number of characters waiting to be read .
def in_waiting(self):
        """Number of characters waiting to be read."""
        # we get at most 1 char waiting this way
        return console.key_pressed()
def in_waiting ( self ) : # we get at most 1 char waiting this way return console . key_pressed ( )