Skip to content

Commit

Permalink
Fix hash func
Browse files Browse the repository at this point in the history
  • Loading branch information
zooba committed Feb 14, 2023
1 parent 2bcfd8d commit c654b35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objects/codeobject.c
Original file line number Diff line number Diff line change
Expand Up @@ -1850,7 +1850,7 @@ code_hash(PyCodeObject *co)
for (int i = 0; i < Py_SIZE(co); i++) {
int deop = _PyOpcode_Deopt[_PyCode_CODE(co)[i].op.code];
SCRAMBLE_IN(deop);
SCRAMBLE_IN(_PyCode_CODE(co)[i].op.code);
SCRAMBLE_IN(_PyCode_CODE(co)[i].op.arg);
i += _PyOpcode_Caches[deop];
}
if ((Py_hash_t)uhash == -1) {
Expand Down

0 comments on commit c654b35

Please sign in to comment.