mirror of https://github.com/python/cpython
d0f1307580
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 |