anextawaitable_close()
should be a METH_NOARGS
not METH_VARARGS
#131666
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
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.close
as aMETH_NOARGS
instead ofMETH_VARARGS
#131671The text was updated successfully, but these errors were encountered: