mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
GH-98363: Use better accessor macro (#98535)
This commit is contained in:
parent
d9407b174c
commit
8d574234d4
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ batched_next(batchedobject *bo)
|
|||
return NULL;
|
||||
}
|
||||
iternextfunc iternext = *Py_TYPE(it)->tp_iternext;
|
||||
PyObject **items = PySequence_Fast_ITEMS(result);
|
||||
PyObject **items = _PyList_ITEMS(result);
|
||||
for (i=0 ; i < n ; i++) {
|
||||
item = iternext(it);
|
||||
if (item == NULL) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue