We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ccded6 commit 0280559Copy full SHA for 0280559
1 file changed
pythoncapi_compat.h
@@ -2667,7 +2667,9 @@ PyUnstable_Unicode_GET_CACHED_HASH(PyObject *op)
2667
static inline int
2668
PyUnstable_SetImmortal(PyObject *op)
2669
{
2670
+#if 0x030E0000 <= PY_VERSION_HEX
2671
PyAPI_FUNC(void) _Py_SetImmortal(PyObject *op);
2672
+#else
2673
2674
assert(op != NULL);
2675
if (!PyUnstable_Object_IsUniquelyReferenced(op) || PyUnicode_Check(op)) {
0 commit comments