diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-01-21 13:22:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-21 13:22:57 (GMT) |
commit | afefa4a74cecc505a54094c6a0f129fcdc02060a (patch) | |
tree | 65a268297c2dea74570ae35f5d3fd64e64810822 /Python | |
parent | 24fa45b59f29e90cc37e83c4e2908b1377717f32 (diff) | |
download | cpython-afefa4a74cecc505a54094c6a0f129fcdc02060a.zip cpython-afefa4a74cecc505a54094c6a0f129fcdc02060a.tar.gz cpython-afefa4a74cecc505a54094c6a0f129fcdc02060a.tar.bz2 |
[3.12] gh-114384: Align sys.set_asyncgen_hooks signature in docs to reflect implementation (GH-114385) (#114386)
(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 14f4447..7874920 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -1361,7 +1361,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." ); |