You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sys.set_asyncgen_hooks docs are not correct about its signature #114384
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)
Activity
pythongh-114384: Fix `sys.set_asyncgen_hooks` signature in docs
gh-114384: Align sys.set_asyncgen_hooks signature in docs to reflect …
pythongh-114384: Align sys.set_asyncgen_hooks signature in docs to re…
pythongh-114384: Align sys.set_asyncgen_hooks signature in docs to re…
[3.11] gh-114384: Align sys.set_asyncgen_hooks signature in docs to r…
[3.12] gh-114384: Align sys.set_asyncgen_hooks signature in docs to r…
pythongh-114384: Align sys.set_asyncgen_hooks signature in docs to re…
pythongh-114384: Align sys.set_asyncgen_hooks signature in docs to re…
pythongh-114384: Align sys.set_asyncgen_hooks signature in docs to re…