https://github.com/python/cpython/commit/2fd8f036c06a91089d6dce94eb0ca03b07557fc8 commit: 2fd8f036c06a91089d6dce94eb0ca03b07557fc8 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: sobolevn <[email protected]> date: 2025-09-15T11:35:22Z summary:
[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 <[email protected]> Co-authored-by: marat <[email protected]> files: M Objects/genobject.c diff --git a/Objects/genobject.c b/Objects/genobject.c index c5156d84185ebd..0273dea958efc1 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 * _______________________________________________ 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]
