Searched refs:accept_patterns (Results 1 – 2 of 2) sorted by relevance
166 def AcceptableMimeType(accept_patterns, mime_type): argument184 unsupported_patterns = [p for p in accept_patterns if ';' in p]199 for pattern in accept_patterns)
1839 def set_match_tests(accept_patterns=None, ignore_patterns=None): argument1843 if accept_patterns is None:1844 accept_patterns = ()1850 if accept_patterns != _accept_test_patterns:1851 accept_patterns, accept_func = _compile_match_function(accept_patterns)1856 _accept_test_patterns = tuple(accept_patterns)