| 1302 | // gh-114329 added PyList_GetItemRef() to Python 3.13.0a4 |
| 1303 | #if PY_VERSION_HEX < 0x030D00A4 |
| 1304 | static inline PyObject * |
| 1305 | PyList_GetItemRef(PyObject *op, Py_ssize_t index) |
| 1306 | { |
| 1307 | PyObject *item = PyList_GetItem(op, index); |
| 1308 | Py_XINCREF(item); |
| 1309 | return item; |
| 1310 | } |
| 1311 | #endif |
| 1312 | |
| 1313 |
nothing calls this directly
no outgoing calls
no test coverage detected