Skip to content

Commit

Permalink
Fix typo: _Py_IsFinalizing() not Py_IsFinalizing
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Oct 6, 2023
1 parent f78c780 commit dab5f98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pythoncapi_compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dab5f98

Please sign in to comment.