Searched refs:splitattr (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_urllib.py | 981 splitattr = urllib.splitattr 982 self.assertEqual(splitattr('/path;attr1=value1;attr2=value2'), 984 self.assertEqual(splitattr('/path;'), ('/path', [''])) 985 self.assertEqual(splitattr(';attr1=value1;attr2=value2'), 987 self.assertEqual(splitattr('/path'), ('/path', []))
|
/external/python/cpython3/Lib/test/ |
D | test_urlparse.py | 1131 splitattr = urllib.parse.splitattr 1132 self.assertEqual(splitattr('/path;attr1=value1;attr2=value2'), 1134 self.assertEqual(splitattr('/path;'), ('/path', [''])) 1135 self.assertEqual(splitattr(';attr1=value1;attr2=value2'), 1137 self.assertEqual(splitattr('/path'), ('/path', []))
|
/external/python/cpython2/Lib/ |
D | urllib.py | 255 path, garbage = splitattr(path or "") 532 path, attrs = splitattr(path) 1193 def splitattr(url): function
|
D | urllib2.py | 122 splitattr, ftpwrapper, splituser, splitpasswd, splitvalue) 1406 path, attrs = splitattr(req.get_selector())
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 106 splitattr, splitquery, splitvalue, splittag, to_bytes, 1526 path, attrs = splitattr(req.selector) 1799 path, garbage = splitattr(path or "") 2028 path, attrs = splitattr(path)
|
D | parse.py | 1049 def splitattr(url): function
|