https://github.com/python/cpython/commit/fad7bfc2829d262e68af40491880000351b12ad2 commit: fad7bfc2829d262e68af40491880000351b12ad2 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 <[email protected]> date: 2025-10-07T23:27:05+05:30 summary:
[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 <[email protected]> Co-authored-by: marat <[email protected]> files: M Objects/genobject.c diff --git a/Objects/genobject.c b/Objects/genobject.c index 88814c3578af6e..f1fd995a246ed9 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 * _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
