mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
gh-115999: Add partial free-thread specialization for BINARY_SUBSCR (gh-127227)
This commit is contained in:
parent
7ea523f47c
commit
e2713409cf
10 changed files with 128 additions and 71 deletions
|
|
@ -391,6 +391,12 @@ PyList_GetItemRef(PyObject *op, Py_ssize_t i)
|
|||
return item;
|
||||
}
|
||||
|
||||
PyObject *
|
||||
_PyList_GetItemRef(PyListObject *list, Py_ssize_t i)
|
||||
{
|
||||
return list_get_item_ref(list, i);
|
||||
}
|
||||
|
||||
int
|
||||
PyList_SetItem(PyObject *op, Py_ssize_t i,
|
||||
PyObject *newitem)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue