diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-10-05 18:20:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-05 18:20:02 (GMT) |
commit | addf8afb43af58b9bf56a0ecfd0f316dd60ac0c3 (patch) | |
tree | 23d963362bed7916be4ef6334f746596f58063d1 | |
parent | 4642d5f59828e774585e9895b538b24d71b9df8e (diff) | |
download | cpython-addf8afb43af58b9bf56a0ecfd0f316dd60ac0c3.zip cpython-addf8afb43af58b9bf56a0ecfd0f316dd60ac0c3.tar.gz cpython-addf8afb43af58b9bf56a0ecfd0f316dd60ac0c3.tar.bz2 |
Fix a compiler warning added in bpo-34872. (GH-9722)
-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 eb503fb..8898671 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; } |