Home
last modified time | relevance | path

Searched refs:default_match (Results 1 – 2 of 2) sorted by relevance

/external/chromium-trace/trace-viewer/third_party/WebOb/webob/
Dacceptparse.py143 def best_match(self, offers, default_match=None): argument
160 best_offer = default_match
226 def best_match(self, offers, default_match=None): argument
228 best_offer = default_match
/external/chromium-trace/trace-viewer/third_party/WebOb/docs/
Dreference.txt368 >>> req.accept_language.best_match(['en-GB', 'en-US'], default_match='en-US')
370 >>> req.accept_language.best_match(['es', 'en-US'], default_match='en-US')
374 ``default_match`` to insure that it is returned as a best match if the
380 >>> req.accept_language.best_match(['en-GB'], default_match='en-US')
382 >>> req.accept_language.best_match(['en-GB', 'en-US'], default_match='en-US')