Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update Include/internal/pycore_tuple.h
Co-authored-by: Bénédikt Tran <[email protected]>
  • Loading branch information
mdboom and picnixz authored Mar 24, 2025
commit 2c8f077ebfb39ae8d9b31e94d6adb450d2f1079c
8 changes: 4 additions & 4 deletions Include/internal/pycore_tuple.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ typedef struct {
PyTupleObject *it_seq; /* Set to NULL when iterator is exhausted */
} _PyTupleIterObject;

#define _PyTuple_RESET_HASH_CACHE(op) \
do { \
assert(op != NULL); \
_PyTuple_CAST(op)->ob_hash = -1; \
#define _PyTuple_RESET_HASH_CACHE(op) \
do { \
assert(op != NULL); \
_PyTuple_CAST(op)->ob_hash = -1; \
} while (0)

/*
Expand Down
Loading