(self, host='', port=None, strict=None)
Provide a default host, since the superclass requires one.
Provide a default host, since the superclass requires one.
Provide a default host since the superclass requires one .
def __init__(self, host='', port=None, strict=None):
        "Provide a default host, since the superclass requires one."

        # some joker passed 0 explicitly, meaning default port
        if port == 0:
            port = None

        # Note that we may pass an empty string as the host; this will throw
        # an error when we attempt to connect. Presumably, the client code
        # will call connect before then, with a proper host.
        self._setup(self._connection_class(host, port, strict))
def __init__ ( self , host = '' , port = None , strict = None ) : # some joker passed 0 explicitly, meaning default port if port == 0 : port = None # Note that we may pass an empty string as the host; this will throw # an error when we attempt to connect. Presumably, the client code # will call connect before then, with a proper host. self . _setup ( self . _connection_class ( host , port , strict ) )