gh-110481: Non-limited Py_INCREF/DECREF() in cpython/object.h by vstinner · Pull Request #111505 · python/cpython

@vstinner

Move the non-limited implementation of Py_INCREF() and Py_DECREF()
from Include/object.h to Include/cpython/object.h.

Move static inline functions using Py_INCREF/DECREF() after the
cpython/object.h include: Py_XINCREF(), Py_XDECREF(), Py_NewRef() and
Py_XNewRef().