(self, allowed_domains)
Set the sequence of allowed domains, or None.
Set the sequence of allowed domains, or None.
Set the sequence of allowed domains or None .
def set_allowed_domains(self, allowed_domains):
        """Set the sequence of allowed domains, or None."""
        if allowed_domains is not None:
            allowed_domains = tuple(allowed_domains)
        self._allowed_domains = allowed_domains
def set_allowed_domains ( self , allowed_domains ) : if allowed_domains is not None : allowed_domains = tuple ( allowed_domains ) self . _allowed_domains = allowed_domains