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.py934 from _testcapi import getargs_S
936 self.assertIs(getargs_S(obj), obj)
937 self.assertRaises(TypeError, getargs_S, bytearray(b'bytearray'))
938 self.assertRaises(TypeError, getargs_S, 'str')
939 self.assertRaises(TypeError, getargs_S, None)
940 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.c1258 getargs_S(PyObject *self, PyObject *args) in getargs_S() function
4655 {"getargs_S", getargs_S, METH_VARARGS},