def wait_for_write(socks, timeout=None):
 return _wait_for_io_events(socks, EVENT_WRITE, timeout)

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