diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-01-21 13:03:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-21 13:03:53 (GMT) |
commit | d2cfb5b258f8355f47fe461479cceb3a476176c6 (patch) | |
tree | a607b4ab6ae047476fdae5ea3924493bf846167f /Python | |
parent | d2551cfc6b16fbd06b04921b715aaca02035bdf5 (diff) | |
download | cpython-d2cfb5b258f8355f47fe461479cceb3a476176c6.zip cpython-d2cfb5b258f8355f47fe461479cceb3a476176c6.tar.gz cpython-d2cfb5b258f8355f47fe461479cceb3a476176c6.tar.bz2 |
[3.11] gh-114384: Align sys.set_asyncgen_hooks signature in docs to reflect implementation (GH-114385) (#114387)
(cherry picked from commit 38768e4cdd1c4b6e03702da8a94e1c22479d6ed3)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Diffstat (limited to 'Python')
-rw-r--r-- | Python/sysmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index d0941e8..89f454c 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -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." ); |