(sock, timeout=None)
return wait_for_socket(sock, read=True, timeout=timeout)
Waits for reading to be available on a given socket.
    Returns True if the socket is readable, or False if the timeout expired.
Waits for reading to be available on a given socket.
    Returns True if the socket is readable, or False if the timeout expired.
Waits for reading to be available on a given socket . Returns True if the socket is readable or False if the timeout expired .
def wait_for_read(sock, timeout=None):
    """ Waits for reading to be available on a given socket.
    Returns True if the socket is readable, or False if the timeout expired.
    """
    return wait_for_socket(sock, read=True, timeout=timeout)
def wait_for_read ( sock , timeout = None ) : return wait_for_socket ( sock , read = True , timeout = timeout )