Skip to content

Commit 45942d6

Browse files
Update
1 parent faef7f1 commit 45942d6

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
@@ -1875,7 +1875,7 @@ FutureIter_am_send(PyObject *op,
18751875
if (it->future == NULL) {
18761876
PyErr_SetNone(PyExc_StopIteration);
18771877
*result = NULL;
1878-
return PYGEN_RETURN;
1878+
return PYGEN_ERROR;
18791879
}
18801880
/* arg is unused, see the comment on FutureIter_send for clarification */
18811881
PySendResult res;

0 commit comments

Comments
 (0)