Searched refs:getargs_s (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_getargs2.py | 584 from _testcapi import getargs_s 585 self.assertEqual(getargs_s('abc\xe9'), 'abc\xe9') 586 self.assertEqual(getargs_s(u'abc'), 'abc') 587 self.assertRaises(TypeError, getargs_s, 'nul:\0') 588 self.assertRaises(TypeError, getargs_s, u'nul:\0') 589 self.assertRaises(TypeError, getargs_s, bytearray('bytearray')) 590 self.assertRaises(TypeError, getargs_s, memoryview('memoryview')) 592 self.assertRaises(TypeError, getargs_s, buffer('buffer')) 593 self.assertRaises(TypeError, getargs_s, None)
|
/external/python/cpython3/Lib/test/ |
D | test_getargs2.py | 766 from _testcapi import getargs_s 767 self.assertEqual(getargs_s('abc\xe9'), b'abc\xc3\xa9') 768 self.assertRaises(ValueError, getargs_s, 'nul:\0') 769 self.assertRaises(TypeError, getargs_s, b'bytes') 770 self.assertRaises(TypeError, getargs_s, bytearray(b'bytearray')) 771 self.assertRaises(TypeError, getargs_s, memoryview(b'memoryview')) 772 self.assertRaises(TypeError, getargs_s, None)
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1311 getargs_s(PyObject *self, PyObject *args) in getargs_s() function 2729 {"getargs_s", getargs_s, METH_VARARGS},
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 1306 getargs_s(PyObject *self, PyObject *args) in getargs_s() function 4660 {"getargs_s", getargs_s, METH_VARARGS},
|