Searched refs:splitvalue (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_urllib.py | 992 splitvalue = urllib.splitvalue 993 self.assertEqual(splitvalue('foo=bar'), ('foo', 'bar')) 994 self.assertEqual(splitvalue('foo='), ('foo', '')) 995 self.assertEqual(splitvalue('=bar'), ('', 'bar')) 996 self.assertEqual(splitvalue('foobar'), ('foobar', None)) 997 self.assertEqual(splitvalue('foo=bar=baz'), ('foo', 'bar=baz'))
|
/external/python/cpython3/Lib/test/ |
D | test_urlparse.py | 1142 splitvalue = urllib.parse.splitvalue 1143 self.assertEqual(splitvalue('foo=bar'), ('foo', 'bar')) 1144 self.assertEqual(splitvalue('foo='), ('foo', '')) 1145 self.assertEqual(splitvalue('=bar'), ('', 'bar')) 1146 self.assertEqual(splitvalue('foobar'), ('foobar', None)) 1147 self.assertEqual(splitvalue('foo=bar=baz'), ('foo', 'bar=baz'))
|
/external/python/six/ |
D | CHANGES | 22 - Pull request #80: Add `six.moves.urllib_parse.splitvalue`.
|
/external/python/cpython2/Lib/ |
D | urllib2.py | 122 splitattr, ftpwrapper, splituser, splitpasswd, splitvalue) 1416 attr, value = splitvalue(attr)
|
D | urllib.py | 554 attr, value = splitvalue(attr) 1200 def splitvalue(attr): function
|
/external/python/cpython3/Lib/urllib/ |
D | request.py | 106 splitattr, splitquery, splitvalue, splittag, to_bytes, 1536 attr, value = splitvalue(attr) 2050 attr, value = splitvalue(attr)
|
D | parse.py | 1055 def splitvalue(attr): function
|
/external/python/six/documentation/ |
D | index.rst | 724 * :func:`py2:urllib.splitvalue`
|