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
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
sys.set_asyncgen_hookssignature in docs #114385