def wait_for_read(socks, timeout=None):
 return _wait_for_io_events(socks, EVENT_READ, timeout)

def wait_for_read ( socks , timeout = None ) : return _wait_for_io_events ( socks , EVENT_READ , timeout )
waits for reading to be available from a list of sockets or optionally a single socket if passed in .