(timeout)
Set the global timeout setting to connect.

    timeout: default socket timeout time. This value is second.
Set the global timeout setting to connect.
Set the global timeout setting to connect .
def setdefaulttimeout(timeout):
    """
    Set the global timeout setting to connect.

    timeout: default socket timeout time. This value is second.
    """
    global default_timeout
    default_timeout = timeout
def setdefaulttimeout ( timeout ) : global default_timeout default_timeout = timeout