Skip to content

anextawaitable_close() should be a METH_NOARGS not METH_VARARGS #131666

Closed
@picnixz

Description

@picnixz

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

Metadata

Metadata

Assignees

Labels

interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions