Searched refs:getargs_s_hash (Results 1 - 3 of 3) sorted by relevance
/third_party/python/Lib/test/test_capi/ |
H A D | test_unicode.py | 458 from _testcapi import getargs_s_hash namespace 468 self.assertEqual(getargs_s_hash(s), chr(k).encode() * (i + 1)) 470 self.assertEqual(getargs_s_hash(s), chr(k).encode() * (i + 1))
|
H A D | test_getargs.py | 897 from _testcapi import getargs_s_hash namespace 898 self.assertEqual(getargs_s_hash('abc\xe9'), b'abc\xc3\xa9') 899 self.assertEqual(getargs_s_hash('nul:\0'), b'nul:\0') 900 self.assertEqual(getargs_s_hash(b'bytes'), b'bytes') 901 self.assertRaises(TypeError, getargs_s_hash, bytearray(b'bytearray')) 902 self.assertRaises(TypeError, getargs_s_hash, memoryview(b'memoryview')) 903 self.assertRaises(TypeError, getargs_s_hash, None)
|
/third_party/python/Modules/ |
H A D | _testcapimodule.c | 1687 getargs_s_hash(PyObject *self, PyObject *args) in getargs_s_hash() function 6529 {"getargs_s_hash", getargs_s_hash, METH_VARARGS},
|
Completed in 14 milliseconds