| 49 | // TODO: remove this function when Python 3.13 becomes the minimum supported version |
| 50 | #if PY_MAJOR_VERSION == 3 && PY_MINOR_VERSION < 13 |
| 51 | static inline PyObject * |
| 52 | PyList_GetItemRef(PyObject *op, Py_ssize_t index) |
| 53 | { |
| 54 | PyObject *item = PyList_GetItem(op, index); |
| 55 | Py_XINCREF(item); |
| 56 | return item; |
| 57 | } |
| 58 | #endif |
| 59 | |
| 60 | extern PyObject *GitError; |
no outgoing calls
no test coverage detected
searching dependent graphs…