Skip to content

Commit 717e99f

Browse files
committed
Oops, proper spelling of unstable _Py_IsFinalizing
1 parent 959b1e1 commit 717e99f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/pybind11/detail/internals.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class thread_specific_storage {
103103
// However, in GraalPy (as of v24.2 or older), TSS is implemented by Java and this call
104104
// requires a living Python interpreter.
105105
#ifdef GRAALVM_PYTHON
106-
if (Py_IsInitialized() == 0 || Py_IsFinalizing() != 0) {
106+
if (Py_IsInitialized() == 0 || _Py_IsFinalizing() != 0) {
107107
return;
108108
}
109109
#endif

0 commit comments

Comments
 (0)