◐ Shell
clean mode source ↗

`anextawaitable_close()` should be a `METH_NOARGS` not `METH_VARARGS`

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 by coroutine_wrapper).

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs