Searched refs:_to_bytes (Results 1 – 3 of 3) sorted by relevance
993 return _to_bytes(url)996 def _to_bytes(url): function
106 _splitattr, _splitquery, _splitvalue, _splittag, _to_bytes,1762 fullurl = unwrap(_to_bytes(fullurl))1810 url = unwrap(_to_bytes(url))
1252 result = urllib.parse._to_bytes('http://www.python.org')1254 self.assertRaises(UnicodeError, urllib.parse._to_bytes,