mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
The new `PyList_GetItemRef` is similar to `PyList_GetItem`, but returns a strong reference instead of a borrowed reference. Additionally, if the passed "list" object is not a list, the function sets a `TypeError` instead of calling `PyErr_BadInternalCall()`. |
||
|---|---|---|
| .. | ||
| refcounts.dat | ||
| stable_abi.dat | ||