From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 15 Sep 2025 11:35:22 +0000 (+0200) Subject: [3.13] gh-138902: Fix generator send arg name (GH-138905) (#138913) X-Git-Tag: v3.13.8~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2fd8f036c06a91089d6dce94eb0ca03b07557fc8;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-138902: Fix generator send arg name (GH-138905) (#138913) gh-138902: Fix generator send arg name (GH-138905) (cherry picked from commit cb07bd24eed43a0ac182e664398398164089f294) Co-authored-by: Marat Khagazheev Co-authored-by: marat --- diff --git a/Objects/genobject.c b/Objects/genobject.c index c5156d84185e..0273dea958ef 100644 --- a/Objects/genobject.c +++ b/Objects/genobject.c @@ -291,7 +291,7 @@ gen_send_ex(PyGenObject *gen, PyObject *arg, int exc, int closing) } PyDoc_STRVAR(send_doc, -"send(arg) -> send 'arg' into generator,\n\ +"send(value) -> send 'value' into generator,\n\ return next yielded value or raise StopIteration."); static PyObject *