summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Python/hashtable.c
diff options
context:
space:
mode:
authorshadchin <[email protected]>2026-02-03 21:59:07 +0300
committershadchin <[email protected]>2026-02-03 22:28:51 +0300
commitbce46f28de392862d5c6c3b185d844ee7c623be3 (patch)
tree424878b5b90144f98970ce4a2745990c77330ad2 /contrib/tools/python3/Python/hashtable.c
parent0e0ee9fa48ce9411b4038aa769493d22ff6c10a2 (diff)
Import Python 3.13.11
commit_hash:bbb53cefb159aa3e7afaa475fd19d5a03b66945f
Diffstat (limited to 'contrib/tools/python3/Python/hashtable.c')
-rw-r--r--contrib/tools/python3/Python/hashtable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tools/python3/Python/hashtable.c b/contrib/tools/python3/Python/hashtable.c
index 9f005c7ad96..faf68fe4ff0 100644
--- a/contrib/tools/python3/Python/hashtable.c
+++ b/contrib/tools/python3/Python/hashtable.c
@@ -45,7 +45,8 @@
*/
#include "Python.h"
-#include "pycore_hashtable.h"
+#include "pycore_hashtable.h" // export _Py_hashtable_new()
+#include "pycore_pyhash.h" // _Py_HashPointerRaw()
#define HASHTABLE_MIN_SIZE 16
#define HASHTABLE_HIGH 0.50
@@ -225,7 +226,6 @@ _Py_hashtable_set(_Py_hashtable_t *ht, const void *key, void *value)
assert(entry == NULL);
#endif
-
entry = ht->alloc.malloc(sizeof(_Py_hashtable_entry_t));
if (entry == NULL) {
/* memory allocation failed */