Skip to content
Closed
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
Fix build: define _PyHASH_NAN
  • Loading branch information
vstinner committed Nov 27, 2023
commit b24683355467e41f5f79f814c9eea9fba932265c
1 change: 1 addition & 0 deletions Modules/_testinternalcapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1624,6 +1624,7 @@ get_type_module_name(PyObject *self, PyObject *type)
return _PyType_GetModuleName((PyTypeObject *)type);
}

#define _PyHASH_NAN 0

Py_NO_INLINE static Py_hash_t
hash_api_A(PyObject *inst, double v)
Expand Down