From dab5f9834fff35c4c2d5d397feecd0278a7a6d75 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Fri, 6 Oct 2023 02:46:57 +0200 Subject: [PATCH] Fix typo: _Py_IsFinalizing() not Py_IsFinalizing --- pythoncapi_compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pythoncapi_compat.h b/pythoncapi_compat.h index dcd97ff..4a52c63 100644 --- a/pythoncapi_compat.h +++ b/pythoncapi_compat.h @@ -853,7 +853,7 @@ PyModule_Add(PyObject *mod, const char *name, PyObject *value) // gh-108014 added Py_IsFinalizing() to Python 3.13.0a1 // bpo-1856 added _Py_Finalizing to Python 3.2.1b1. -// Py_IsFinalizing() was added to PyPy 7.3.0. +// _Py_IsFinalizing() was added to PyPy 7.3.0. #if (0x030201B1 <= PY_VERSION_HEX && PY_VERSION_HEX < 0x030D00A1) \ && (!defined(PYPY_VERSION_NUM) || PYPY_VERSION_NUM >= 0x7030000) static inline int Py_IsFinalizing(void)