https://github.com/python/cpython/commit/cb07bd24eed43a0ac182e664398398164089f294 commit: cb07bd24eed43a0ac182e664398398164089f294 branch: main author: Marat Khagazheev <[email protected]> committer: sobolevn <[email protected]> date: 2025-09-15T14:05:36+03:00 summary:
gh-138902: Fix generator send arg name (#138905) Co-authored-by: marat <[email protected]> files: M Objects/genobject.c diff --git a/Objects/genobject.c b/Objects/genobject.c index bcde9e1a7be07e..c9ca2f1de51ddc 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]
