summaryrefslogtreecommitdiffstats
path: root/Python/tracemalloc.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-05-21 17:51:51 (GMT)
committerGitHub <noreply@github.com>2024-05-21 17:51:51 (GMT)
commitf6da790122fdae1a28f444edfbb55202d6829cd1 (patch)
tree68d3e65a10037dfc6421b70a2f24bbc06d68f285 /Python/tracemalloc.c
parent87939bd5790accea77c5a81093f16f28d3f0b429 (diff)
downloadcpython-f6da790122fdae1a28f444edfbb55202d6829cd1.zip
cpython-f6da790122fdae1a28f444edfbb55202d6829cd1.tar.gz
cpython-f6da790122fdae1a28f444edfbb55202d6829cd1.tar.bz2
gh-111389: Add PyHASH_MULTIPLIER constant (#119214)
Diffstat (limited to 'Python/tracemalloc.c')
-rw-r--r--Python/tracemalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/tracemalloc.c b/Python/tracemalloc.c
index e3ec720..fee7dd0 100644
--- a/Python/tracemalloc.c
+++ b/Python/tracemalloc.c
@@ -312,7 +312,7 @@ traceback_hash(traceback_t *traceback)
/* code based on tuplehash() of Objects/tupleobject.c */
Py_uhash_t x, y; /* Unsigned for defined overflow behavior. */
int len = traceback->nframe;
- Py_uhash_t mult = _PyHASH_MULTIPLIER;
+ Py_uhash_t mult = PyHASH_MULTIPLIER;
frame_t *frame;
x = 0x345678UL;