def _ready_for_reading(self, timeout=None):
        """
        Return the handle that is ready for reading or `None` on timeout.
        """
        handles = [self._event, self._console_input_reader.handle]
        handles.extend(self._read_fds.keys())
        return _wait_for_handles(handles, timeout)
def _ready_for_reading ( self , timeout = None ) : handles = [ self . _event , self . _console_input_reader . handle ] handles . extend ( self . _read_fds . keys ( ) ) return _wait_for_handles ( handles , timeout )
Return the handle that is ready for reading or `None` on timeout.