summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2024-01-21 12:49:49 (GMT)
committerGitHub <noreply@github.com>2024-01-21 12:49:49 (GMT)
commit38768e4cdd1c4b6e03702da8a94e1c22479d6ed3 (patch)
tree59b76ce82f250134c83eb988d0525a40a22dbe0a /Python
parent96c15b1c8d03db5b7b5b719214d9d156b317ba9d (diff)
downloadcpython-38768e4cdd1c4b6e03702da8a94e1c22479d6ed3.zip
cpython-38768e4cdd1c4b6e03702da8a94e1c22479d6ed3.tar.gz
cpython-38768e4cdd1c4b6e03702da8a94e1c22479d6ed3.tar.bz2
gh-114384: Align sys.set_asyncgen_hooks signature in docs to reflect implementation (#114385)
Diffstat (limited to 'Python')
-rw-r--r--Python/sysmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c
index c2de4ec..f558a00 100644
--- a/Python/sysmodule.c
+++ b/Python/sysmodule.c
@@ -1420,7 +1420,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."
);