MCPcopy Index your code
hub / github.com/python/cpython / is_not_allowed

Method is_not_allowed

Lib/http/cookiejar.py:942–948  ·  view source on GitHub ↗
(self, domain)

Source from the content-addressed store, hash-verified

940 self._allowed_domains = allowed_domains
941
942 def is_not_allowed(self, domain):
943 if self._allowed_domains is None:
944 return False
945 for allowed_domain in self._allowed_domains:
946 if user_domain_match(domain, allowed_domain):
947 return False
948 return True
949
950 def set_ok(self, cookie, request):
951 """

Callers 2

set_ok_domainMethod · 0.95
domain_return_okMethod · 0.95

Calls 1

user_domain_matchFunction · 0.85

Tested by

no test coverage detected