Skip to content

Commit

Permalink
Fix set_immortalize_deferred
Browse files Browse the repository at this point in the history
  • Loading branch information
colesbury committed Apr 19, 2024
1 parent 30a4133 commit 0cab82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Modules/_testinternalcapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1953,7 +1953,7 @@ set_immortalize_deferred(PyObject *self, PyObject *value)
interp->gc.immortalize.enable_on_thread = enabled_on_thread;
return Py_BuildValue("ii", old_enabled, old_enabled_on_thread);
#else
Py_RETURN_FALSE;
return Py_BuildValue("OO", Py_False, Py_False);
#endif
}

Expand Down

0 comments on commit 0cab82c

Please sign in to comment.