diff options
| author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2022-10-21 18:44:49 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-21 18:44:49 -0500 |
| commit | 8d574234d49acf3472f7151ee4296da0f297d6f2 (patch) | |
| tree | eb2070a8ef592b2ed6467a9d830782411286dc0e /Modules | |
| parent | d9407b174c81fda33e6c09a6f988c9a7cb8368af (diff) | |
| download | cpython-git-8d574234d49acf3472f7151ee4296da0f297d6f2.tar.gz | |
GH-98363: Use better accessor macro (#98535)
Diffstat (limited to 'Modules')
| -rw-r--r-- | Modules/itertoolsmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/itertoolsmodule.c b/Modules/itertoolsmodule.c index 627e698fc6..578c2d9428 100644 --- a/Modules/itertoolsmodule.c +++ b/Modules/itertoolsmodule.c @@ -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) { |
