diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-10-05 21:20:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-05 21:20:02 +0300 |
commit | addf8afb43af58b9bf56a0ecfd0f316dd60ac0c3 (patch) | |
tree | 23d963362bed7916be4ef6334f746596f58063d1 /Modules | |
parent | 4642d5f59828e774585e9895b538b24d71b9df8e (diff) | |
download | cpython-git-addf8afb43af58b9bf56a0ecfd0f316dd60ac0c3.tar.gz |
Fix a compiler warning added in bpo-34872. (GH-9722)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_asynciomodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c index eb503fb38c..8898671890 100644 --- a/Modules/_asynciomodule.c +++ b/Modules/_asynciomodule.c @@ -2714,7 +2714,7 @@ set_exception: if (task->task_must_cancel) { PyObject *r; int is_true; - r = _PyObject_CallMethodId(fut, &PyId_cancel, NULL); + r = _PyObject_CallMethodId(result, &PyId_cancel, NULL); if (r == NULL) { return NULL; } |