Skip to content

Commit 4b048fa

Browse files
fix it
1 parent 82f53cc commit 4b048fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/_asynciomodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1299,7 +1299,7 @@ FutureObj_get_callbacks(FutureObj *fut, void *Py_UNUSED(ignored))
12991299
}
13001300

13011301
if (fut->fut_callbacks != NULL) {
1302-
for (int j = 0; i < PyList_GET_SIZE(fut->fut_callbacks); j++) {
1302+
for (int j = 0; j < PyList_GET_SIZE(fut->fut_callbacks); j++) {
13031303
PyObject *cb = PyList_GET_ITEM(fut->fut_callbacks, j);
13041304
Py_INCREF(cb);
13051305
PyList_SET_ITEM(callbacks, i, cb);

0 commit comments

Comments
 (0)