mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
[3.11] gh-114384: Align sys.set_asyncgen_hooks signature in docs to reflect implementation (GH-114385) (#114387)
(cherry picked from commit 38768e4cdd
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
This commit is contained in:
parent
d2551cfc6b
commit
d2cfb5b258
2 changed files with 2 additions and 2 deletions
|
@ -1282,7 +1282,7 @@ sys_set_asyncgen_hooks(PyObject *self, PyObject *args, PyObject *kw)
|
|||
}
|
||||
|
||||
PyDoc_STRVAR(set_asyncgen_hooks_doc,
|
||||
"set_asyncgen_hooks(* [, firstiter] [, finalizer])\n\
|
||||
"set_asyncgen_hooks([firstiter] [, finalizer])\n\
|
||||
\n\
|
||||
Set a finalizer for async generators objects."
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue