From: Marat Khagazheev Date: Mon, 15 Sep 2025 11:05:36 +0000 (+0300) Subject: gh-138902: Fix generator send arg name (#138905) X-Git-Tag: v3.15.0a1~370 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cb07bd24eed43a0ac182e664398398164089f294;p=thirdparty%2FPython%2Fcpython.git gh-138902: Fix generator send arg name (#138905) Co-authored-by: marat --- diff --git a/Objects/genobject.c b/Objects/genobject.c index bcde9e1a7be0..c9ca2f1de51d 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 *