Home
last modified time | relevance | path

Searched refs:quote_from_bytes (Results 1 – 8 of 8) sorted by relevance

/external/libchrome/third_party/jinja2/
D_compat.py97 from urllib.parse import quote_from_bytes as url_quote
/external/python/cpython3/Lib/urllib/
Dparse.py824 return quote_from_bytes(string, safe)
843 def quote_from_bytes(bs, safe='/'): function
/external/python/cpython3/Lib/test/
Dtest_urlparse.py916 self.assertRaises(TypeError, urllib.parse.quote_from_bytes, 'foo')
917 result = urllib.parse.quote_from_bytes(b'archaeological arcana')
919 result = urllib.parse.quote_from_bytes(b'')
Dtest_urllib.py879 result = urllib.parse.quote_from_bytes(given)
Dtest_pathlib.py654 from urllib.parse import quote_from_bytes
661 'file:///a/b' + quote_from_bytes(os.fsencode('\xe9')))
/external/python/cpython3/Doc/library/
Durllib.parse.rst513 ``quote_from_bytes(string.encode(encoding, errors), safe)``.
528 .. function:: quote_from_bytes(bytes, safe='/')
533 Example: ``quote_from_bytes(b'a&\xef')`` yields
/external/python/cpython3/Lib/
Dpathlib.py13 from urllib.parse import quote_from_bytes as urlquote_from_bytes
/external/python/cpython3/Misc/
DHISTORY13403 - Issue #1285086: Speed up urllib.parse functions: quote, quote_from_bytes,