(self,
                 blocked_domains=None, allowed_domains=None,
                 netscape=True, rfc2965=False,
                 rfc2109_as_netscape=None,
                 hide_cookie2=False,
                 strict_domain=False,
                 strict_rfc2965_unverifiable=True,
                 strict_ns_unverifiable=False,
                 strict_ns_domain=DomainLiberal,
                 strict_ns_set_initial_dollar=False,
                 strict_ns_set_path=False,
                 secure_protocols=("https", "wss")
                 )
Constructor arguments should be passed as keyword arguments only.
Constructor arguments should be passed as keyword arguments only.
Constructor arguments should be passed as keyword arguments only .
def __init__(self,
                 blocked_domains=None, allowed_domains=None,
                 netscape=True, rfc2965=False,
                 rfc2109_as_netscape=None,
                 hide_cookie2=False,
                 strict_domain=False,
                 strict_rfc2965_unverifiable=True,
                 strict_ns_unverifiable=False,
                 strict_ns_domain=DomainLiberal,
                 strict_ns_set_initial_dollar=False,
                 strict_ns_set_path=False,
                 secure_protocols=("https", "wss")
                 ):
        """Constructor arguments should be passed as keyword arguments only."""
        self.netscape = netscape
        self.rfc2965 = rfc2965
        self.rfc2109_as_netscape = rfc2109_as_netscape
        self.hide_cookie2 = hide_cookie2
        self.strict_domain = strict_domain
        self.strict_rfc2965_unverifiable = strict_rfc2965_unverifiable
        self.strict_ns_unverifiable = strict_ns_unverifiable
        self.strict_ns_domain = strict_ns_domain
        self.strict_ns_set_initial_dollar = strict_ns_set_initial_dollar
        self.strict_ns_set_path = strict_ns_set_path
        self.secure_protocols = secure_protocols

        if blocked_domains is not None:
            self._blocked_domains = tuple(blocked_domains)
        else:
            self._blocked_domains = ()

        if allowed_domains is not None:
            allowed_domains = tuple(allowed_domains)
        self._allowed_domains = allowed_domains
def __init__ ( self , blocked_domains = None , allowed_domains = None , netscape = True , rfc2965 = False , rfc2109_as_netscape = None , hide_cookie2 = False , strict_domain = False , strict_rfc2965_unverifiable = True , strict_ns_unverifiable = False , strict_ns_domain = DomainLiberal , strict_ns_set_initial_dollar = False , strict_ns_set_path = False , secure_protocols = ( "https" , "wss" ) ) : self . netscape = netscape self . rfc2965 = rfc2965 self . rfc2109_as_netscape = rfc2109_as_netscape self . hide_cookie2 = hide_cookie2 self . strict_domain = strict_domain self . strict_rfc2965_unverifiable = strict_rfc2965_unverifiable self . strict_ns_unverifiable = strict_ns_unverifiable self . strict_ns_domain = strict_ns_domain self . strict_ns_set_initial_dollar = strict_ns_set_initial_dollar self . strict_ns_set_path = strict_ns_set_path self . secure_protocols = secure_protocols if blocked_domains is not None : self . _blocked_domains = tuple ( blocked_domains ) else : self . _blocked_domains = ( ) if allowed_domains is not None : allowed_domains = tuple ( allowed_domains ) self . _allowed_domains = allowed_domains