Searched refs:getargs_s_star (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_getargs2.py | 596 from _testcapi import getargs_s_star 597 self.assertEqual(getargs_s_star('abc\xe9'), 'abc\xe9') 598 self.assertEqual(getargs_s_star(u'abc'), 'abc') 599 self.assertEqual(getargs_s_star('nul:\0'), 'nul:\0') 600 self.assertEqual(getargs_s_star(u'nul:\0'), 'nul:\0') 601 self.assertEqual(getargs_s_star(bytearray('abc\xe9')), 'abc\xe9') 602 self.assertEqual(getargs_s_star(memoryview('abc\xe9')), 'abc\xe9') 604 self.assertEqual(getargs_s_star(buffer('abc\xe9')), 'abc\xe9') 605 self.assertEqual(getargs_s_star(buffer(u'abc\xe9')), 607 self.assertRaises(TypeError, getargs_s_star, None)
|
/external/python/cpython3/Lib/test/ |
D | test_getargs2.py | 860 from _testcapi import getargs_s_star 861 self.assertEqual(getargs_s_star('abc\xe9'), b'abc\xc3\xa9') 862 self.assertEqual(getargs_s_star('nul:\0'), b'nul:\0') 863 self.assertEqual(getargs_s_star(b'bytes'), b'bytes') 864 self.assertEqual(getargs_s_star(bytearray(b'bytearray')), b'bytearray') 865 self.assertEqual(getargs_s_star(memoryview(b'memoryview')), b'memoryview') 866 self.assertRaises(TypeError, getargs_s_star, None)
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1320 getargs_s_star(PyObject *self, PyObject *args) in getargs_s_star() function 2730 {"getargs_s_star", getargs_s_star, METH_VARARGS},
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 1480 getargs_s_star(PyObject *self, PyObject *args) in getargs_s_star() function 5729 {"getargs_s_star", getargs_s_star, METH_VARARGS},
|