◐ Shell
clean mode source ↗

gh-106320: Remove _PyTuple_MaybeUntrack() C API by vstinner · Pull Request #107143 · python/cpython

Expand Up @@ -11,7 +11,6 @@ typedef struct { } PyTupleObject;
PyAPI_FUNC(int) _PyTuple_Resize(PyObject **, Py_ssize_t); PyAPI_FUNC(void) _PyTuple_MaybeUntrack(PyObject *);
/* Cast argument to PyTupleObject* type. */ #define _PyTuple_CAST(op) \ Expand All @@ -37,5 +36,3 @@ PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) { } #define PyTuple_SET_ITEM(op, index, value) \ PyTuple_SET_ITEM(_PyObject_CAST(op), (index), _PyObject_CAST(value))
PyAPI_FUNC(void) _PyTuple_DebugMallocStats(FILE *out);