Home
last modified time | relevance | path

Searched refs:getargs_U (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_getargs2.py828 from _testcapi import getargs_U
830 self.assertIs(getargs_U(obj), obj)
831 self.assertRaises(TypeError, getargs_U, 'str')
832 self.assertRaises(TypeError, getargs_U, bytearray('bytearray'))
833 self.assertRaises(TypeError, getargs_U, None)
834 self.assertRaises(TypeError, getargs_U, memoryview(obj))
835 self.assertRaises(TypeError, getargs_U, buffer(obj))
/external/python/cpython3/Lib/test/
Dtest_getargs2.py1051 from _testcapi import getargs_U
1053 self.assertIs(getargs_U(obj), obj)
1054 self.assertRaises(TypeError, getargs_U, b'bytes')
1055 self.assertRaises(TypeError, getargs_U, bytearray(b'bytearray'))
1056 self.assertRaises(TypeError, getargs_U, None)
/external/python/cpython2/Modules/
D_testcapimodule.c1291 getargs_U(PyObject *self, PyObject *args) in getargs_U() function
2726 {"getargs_U", getargs_U, METH_VARARGS},
/external/python/cpython3/Modules/
D_testcapimodule.c1313 getargs_U(PyObject *self, PyObject *args) in getargs_U() function
5394 {"getargs_U", getargs_U, METH_VARARGS},