Searched refs:getargs_s (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_getargs2.py | 583 from _testcapi import getargs_s 584 self.assertEqual(getargs_s('abc\xe9'), 'abc\xe9') 585 self.assertEqual(getargs_s(u'abc'), 'abc') 586 self.assertRaises(TypeError, getargs_s, 'nul:\0') 587 self.assertRaises(TypeError, getargs_s, u'nul:\0') 588 self.assertRaises(TypeError, getargs_s, bytearray('bytearray')) 589 self.assertRaises(TypeError, getargs_s, memoryview('memoryview')) 591 self.assertRaises(TypeError, getargs_s, buffer('buffer')) 592 self.assertRaises(TypeError, getargs_s, None)
|
/external/python/cpython2/Modules/ |
D | _testcapimodule.c | 1301 getargs_s(PyObject *self, PyObject *args) in getargs_s() function 2543 {"getargs_s", getargs_s, METH_VARARGS},
|