Searched refs:quote_from_bytes (Results 1 – 8 of 8) sorted by relevance
97 from urllib.parse import quote_from_bytes as url_quote
824 return quote_from_bytes(string, safe)843 def quote_from_bytes(bs, safe='/'): function
916 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'')
879 result = urllib.parse.quote_from_bytes(given)
654 from urllib.parse import quote_from_bytes661 'file:///a/b' + quote_from_bytes(os.fsencode('\xe9')))
513 ``quote_from_bytes(string.encode(encoding, errors), safe)``.528 .. function:: quote_from_bytes(bytes, safe='/')533 Example: ``quote_from_bytes(b'a&\xef')`` yields
13 from urllib.parse import quote_from_bytes as urlquote_from_bytes
13403 - Issue #1285086: Speed up urllib.parse functions: quote, quote_from_bytes,