-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Refs #103132 (comment)
The signature is set_asyncgen_hooks(firstiter=<unrepresentable>, finalizer=<unrepresentable>)
.
Docs say that it is: set_asyncgen_hooks(firstiter, finalizer)
Docstring say that it is: set_asyncgen_hooks(* [, firstiter] [, finalizer])
It should be: set_asyncgen_hooks([firstiter] [, finalizer])
(I guess)
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error