Home
last modified time | relevance | path

Searched refs:getargs_u (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_getargs2.py780 from _testcapi import getargs_u
781 self.assertEqual(getargs_u(u'abc\xe9'), u'abc\xe9')
782 self.assertRaises(TypeError, getargs_u, u'nul:\0')
783 self.assertRaises(TypeError, getargs_u, 'bytes')
784 self.assertRaises(TypeError, getargs_u, bytearray('bytearray'))
785 self.assertRaises(TypeError, getargs_u, memoryview('memoryview'))
787 self.assertRaises(TypeError, getargs_u, buffer('buffer'))
788 self.assertRaises(TypeError, getargs_u, None)
/external/python/cpython2/Modules/
D_testcapimodule.c1450 getargs_u(PyObject *self, PyObject *args) in getargs_u() function
2554 {"getargs_u", getargs_u, METH_VARARGS},