mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
parent
f3fd06a2e4
commit
dee6e252cc
1 changed files with 2 additions and 1 deletions
|
@ -802,7 +802,8 @@ lookdict_unicode_nodummy(PyDictObject *mp, PyObject *key,
|
|||
return DKIX_EMPTY;
|
||||
}
|
||||
ep = &ep0[ix];
|
||||
assert(ep->me_key != NULL && PyUnicode_CheckExact(ep->me_key));
|
||||
assert(ep->me_key != NULL);
|
||||
assert(PyUnicode_CheckExact(ep->me_key));
|
||||
if (ep->me_key == key ||
|
||||
(ep->me_hash == hash && unicode_eq(ep->me_key, key))) {
|
||||
if (hashpos != NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue