Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_getargs2.py1005 from _testcapi import getargs_u_hash
1007 self.assertEqual(getargs_u_hash('abc\xe9'), 'abc\xe9')
1009 self.assertEqual(getargs_u_hash('nul:\0'), 'nul:\0')
1011 self.assertRaises(TypeError, getargs_u_hash, b'bytes')
1013 self.assertRaises(TypeError, getargs_u_hash, bytearray(b'bytearray'))
1015 self.assertRaises(TypeError, getargs_u_hash, memoryview(b'memoryview'))
1017 self.assertRaises(TypeError, getargs_u_hash, None)
/third_party/python/Modules/
D_testcapimodule.c1584 getargs_u_hash(PyObject *self, PyObject *args) in getargs_u_hash() function
5740 {"getargs_u_hash", getargs_u_hash, METH_VARARGS},