gh-103906: Remove immortal refcounting in compile/marshal.c (gh-103922)

This commit is contained in:
Dong-hee Na
2023-06-05 22:38:36 +09:00
committed by GitHub
parent cdfb201bfa
commit 058b960535
3 changed files with 8 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ ellipsis_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
PyErr_SetString(PyExc_TypeError, "EllipsisType takes no arguments");
return NULL;
}
return Py_NewRef(Py_Ellipsis);
return Py_Ellipsis;
}
static void