Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_urllib.py992 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/
Dtest_urlparse.py1142 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/
DCHANGES22 - Pull request #80: Add `six.moves.urllib_parse.splitvalue`.
/external/python/cpython2/Lib/
Durllib2.py122 splitattr, ftpwrapper, splituser, splitpasswd, splitvalue)
1416 attr, value = splitvalue(attr)
Durllib.py554 attr, value = splitvalue(attr)
1200 def splitvalue(attr): function
/external/python/cpython3/Lib/urllib/
Drequest.py106 splitattr, splitquery, splitvalue, splittag, to_bytes,
1536 attr, value = splitvalue(attr)
2050 attr, value = splitvalue(attr)
Dparse.py1055 def splitvalue(attr): function
/external/python/six/documentation/
Dindex.rst724 * :func:`py2:urllib.splitvalue`