Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/test/
Dtest_getargs2.py1022 from _testcapi import getargs_Z_hash
1023 self.assertEqual(getargs_Z_hash('abc\xe9'), 'abc\xe9')
1024 self.assertEqual(getargs_Z_hash('nul:\0'), 'nul:\0')
1025 self.assertRaises(TypeError, getargs_Z_hash, b'bytes')
1026 self.assertRaises(TypeError, getargs_Z_hash, bytearray(b'bytearray'))
1027 self.assertRaises(TypeError, getargs_Z_hash, memoryview(b'memoryview'))
1028 self.assertIsNone(getargs_Z_hash(None))
/external/python/cpython3/Modules/
D_testcapimodule.c1476 getargs_Z_hash(PyObject *self, PyObject *args) in getargs_Z_hash() function
5409 {"getargs_Z_hash", getargs_Z_hash, METH_VARARGS},