Skip to content

Commit addf8af

Browse files
Fix a compiler warning added in bpo-34872. (GH-9722)
1 parent 4642d5f commit addf8af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/_asynciomodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2714,7 +2714,7 @@ task_step_impl(TaskObj *task, PyObject *exc)
27142714
if (task->task_must_cancel) {
27152715
PyObject *r;
27162716
int is_true;
2717-
r = _PyObject_CallMethodId(fut, &PyId_cancel, NULL);
2717+
r = _PyObject_CallMethodId(result, &PyId_cancel, NULL);
27182718
if (r == NULL) {
27192719
return NULL;
27202720
}

0 commit comments

Comments
 (0)