# Bug report ### Bug description: See https://github.com/python/cpython/pull/131609#discussion_r2009832215. We can backport it because a TypeError is already raised (it's not raised by `anext_awaitable.close`, but rather by `coroutine_wrapper`). ### CPython versions tested on: CPython main branch ### Operating systems tested on: _No response_ <!-- gh-linked-prs --> ### Linked PRs * gh-131671 <!-- /gh-linked-prs -->
Bug report
Bug description:
See #131609 (comment).
We can backport it because a TypeError is already raised (it's not raised by
anext_awaitable.close, but rather bycoroutine_wrapper).CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
anext_awaitable.closeas aMETH_NOARGSinstead ofMETH_VARARGS#131671