[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 cb07bd24ee)

Co-authored-by: Marat Khagazheev <marathagazeev@gmail.com>
Co-authored-by: marat <khagazheev@artlebedev.ru>
This commit is contained in:
Miss Islington (bot) 2025-09-15 13:35:22 +02:00 committed by GitHub
parent d8d11d50bf
commit 2fd8f036c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 *