Searched refs:dict_getitem_knownhash (Results 1 - 2 of 2) sorted by relevance
/third_party/python/Lib/test/ |
H A D | test_dict.py | 1571 dict_getitem_knownhash = _testcapi.dict_getitem_knownhash 1574 self.assertEqual(dict_getitem_knownhash(d, 'x', hash('x')), 1) 1575 self.assertEqual(dict_getitem_knownhash(d, 'y', hash('y')), 2) 1576 self.assertEqual(dict_getitem_knownhash(d, 'z', hash('z')), 3) 1579 self.assertRaises(SystemError, dict_getitem_knownhash, [], 1, hash(1)) 1581 self.assertRaises(KeyError, dict_getitem_knownhash, {}, 1, hash(1)) 1592 self.assertEqual(dict_getitem_knownhash(d, k1, hash(k1)), 1) 1593 self.assertRaises(Exc, dict_getitem_knownhash, d, k2, hash(k2))
|
/third_party/python/Modules/ |
H A D | _testcapimodule.c | 326 dict_getitem_knownhash(PyObject *self, PyObject *args) in dict_getitem_knownhash() function 331 if (!PyArg_ParseTuple(args, "OOn:dict_getitem_knownhash", in dict_getitem_knownhash() 6449 {"dict_getitem_knownhash", dict_getitem_knownhash, METH_VARARGS},
|
Completed in 13 milliseconds