Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaraditya303 committed Jan 4, 2025
1 parent 5030cc6 commit 2676957
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Modules/_asynciomodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 2676957

Please sign in to comment.