From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 7 Oct 2025 17:57:05 +0000 (+0200) Subject: [3.14] gh-138902: Fix generator send arg name (GH-138905) (#138914) X-Git-Tag: v3.14.1~532 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fad7bfc2829d262e68af40491880000351b12ad2;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-138902: Fix generator send arg name (GH-138905) (#138914) 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 88814c3578af..f1fd995a246e 100644 --- a/Objects/genobject.c +++ b/Objects/genobject.c @@ -315,7 +315,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 *