From a070b6b3822787ddc5d762efdc87e088de715c7a Mon Sep 17 00:00:00 2001 From: Austin Wilson Date: Wed, 14 May 2025 14:51:43 -0400 Subject: [PATCH] Fix typo in common.hpp --- qipython/common.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qipython/common.hpp b/qipython/common.hpp index 3335f66..f781d21 100644 --- a/qipython/common.hpp +++ b/qipython/common.hpp @@ -116,9 +116,9 @@ boost::optional extractKeywordArg(pybind11::dict kwargs, /// finalizing or not. inline boost::optional interpreterIsFinalizing() { -// `_Py_IsFinalizing` is only available on CPython 3.7+ +// `Py_IsFinalizing` is only available on CPython 3.7+ #if PY_VERSION_HEX >= 0x03070000 - return boost::make_optional(_Py_IsFinalizing() != 0); + return boost::make_optional(Py_IsFinalizing() != 0); #else // There is no way of knowing on older versions. return {};