Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dtest_getargs2.py805 from _testcapi import getargs_S
807 self.assertIs(getargs_S(obj), obj)
808 self.assertRaises(TypeError, getargs_S, bytearray('bytearray'))
810 self.assertRaises(TypeError, getargs_S, u'unicode')
811 self.assertRaises(TypeError, getargs_S, None)
812 self.assertRaises(TypeError, getargs_S, memoryview(obj))
813 self.assertRaises(TypeError, getargs_S, buffer(obj))
/external/python/cpython3/Lib/test/
Dtest_getargs2.py1033 from _testcapi import getargs_S
1035 self.assertIs(getargs_S(obj), obj)
1036 self.assertRaises(TypeError, getargs_S, bytearray(b'bytearray'))
1037 self.assertRaises(TypeError, getargs_S, 'str')
1038 self.assertRaises(TypeError, getargs_S, None)
1039 self.assertRaises(TypeError, getargs_S, memoryview(obj))
/external/python/cpython2/Modules/
D_testcapimodule.c1270 getargs_S(PyObject *self, PyObject *args) in getargs_S() function
2723 {"getargs_S", getargs_S, METH_VARARGS},
/external/python/cpython3/Modules/
D_testcapimodule.c1293 getargs_S(PyObject *self, PyObject *args) in getargs_S() function
5392 {"getargs_S", getargs_S, METH_VARARGS},