From 26769576794a08d5ddbcea6b6f55ec079f4e48e4 Mon Sep 17 00:00:00 2001 From: Kumar Aditya Date: Sat, 4 Jan 2025 07:20:31 +0000 Subject: [PATCH] fix comment --- Modules/_asynciomodule.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Modules/_asynciomodule.c b/Modules/_asynciomodule.c index 3d56c62d262250..b8b184af04a7cb 100644 --- a/Modules/_asynciomodule.c +++ b/Modules/_asynciomodule.c @@ -1657,8 +1657,6 @@ FutureIter_dealloc(futureiterobject *it) static PySendResult FutureIter_am_send_lock_held(futureiterobject *it, PyObject **result) { - /* arg is unused, see the comment on FutureIter_send for clarification */ - PyObject *res; FutureObj *fut = it->future; _Py_CRITICAL_SECTION_ASSERT_OBJECT_LOCKED(fut); @@ -1690,6 +1688,7 @@ FutureIter_am_send(futureiterobject *it, PyObject *Py_UNUSED(arg), PyObject **result) { + /* arg is unused, see the comment on FutureIter_send for clarification */ PySendResult res; Py_BEGIN_CRITICAL_SECTION(it->future); res = FutureIter_am_send_lock_held(it, result);