sense_hat/stick.py
def _wait(self, timeout=None):
        """
        Waits *timeout* seconds until an event is available from the
        joystick. Returns `True` if an event became available, and `False`
        if the timeout expired.
        """
        r, w, x = select.select([self._stick_file], [], [], timeout)
        return bool(r)

        Waits *timeout* seconds until an event is available from the
        joystick. Returns `True` if an event became available, and `False`
        if the timeout expired.
        
Waits *timeout* seconds until an event is available from the
joystick. Returns `True` if an event became available, and `False`
if the timeout expired.
Waits * timeout * seconds until an event is available from the joystick . Returns ` True ` if an event became available and ` False ` if the timeout expired .
def _wait(self, timeout=None):
        r, w, x = select.select([self._stick_file], [], [], timeout)
        return bool(r)
def _wait ( self , timeout = None ) : r , w , x = select . select ( [ self . _stick_file ] , [ ] , [ ] , timeout ) return bool ( r )
Waits *timeout* seconds until an event is available from the
joystick.
Waits * timeout * seconds until an event is available from the joystick .
"""
        Waits *timeout* seconds until an event is available from the
        joystick. Returns `True` if an event became available, and `False`
        if the timeout expired.
        """
self
timeout