Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_getargs2.py989 from _testcapi import getargs_u
991 self.assertEqual(getargs_u('abc\xe9'), 'abc\xe9')
993 self.assertRaises(ValueError, getargs_u, 'nul:\0')
995 self.assertRaises(TypeError, getargs_u, b'bytes')
997 self.assertRaises(TypeError, getargs_u, bytearray(b'bytearray'))
999 self.assertRaises(TypeError, getargs_u, memoryview(b'memoryview'))
1001 self.assertRaises(TypeError, getargs_u, None)
Dtest_unicode.py2390 from _testcapi import getargs_u
2397 abc = getargs_u(text)
2403 abcdef = getargs_u(text)
/third_party/python/Modules/
D_testcapimodule.c1575 getargs_u(PyObject *self, PyObject *args) in getargs_u() function
5739 {"getargs_u", getargs_u, METH_VARARGS},