Searched refs:getargs_C (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_getargs2.py | 754 from _testcapi import getargs_C 755 self.assertRaises(TypeError, getargs_C, 'abc') # len > 1 756 self.assertEqual(getargs_C('a'), 97) 757 self.assertEqual(getargs_C('\u20ac'), 0x20ac) 758 self.assertEqual(getargs_C('\U0001f40d'), 0x1f40d) 759 self.assertRaises(TypeError, getargs_C, b'a') 760 self.assertRaises(TypeError, getargs_C, bytearray(b'a')) 761 self.assertRaises(TypeError, getargs_C, memoryview(b'a')) 762 self.assertRaises(TypeError, getargs_C, 97) 763 self.assertRaises(TypeError, getargs_C, None)
|
/external/python/cpython3/Modules/ |
D | _testcapimodule.c | 1297 getargs_C(PyObject *self, PyObject *args) in getargs_C() function 4659 {"getargs_C", getargs_C, METH_VARARGS},
|