mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
[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 cb07bd24ee)
Co-authored-by: Marat Khagazheev <marathagazeev@gmail.com>
Co-authored-by: marat <khagazheev@artlebedev.ru>
This commit is contained in:
parent
e3d102ecdc
commit
fad7bfc282
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ gen_send_ex(PyGenObject *gen, PyObject *arg, int exc, int closing)
|
||||||
}
|
}
|
||||||
|
|
||||||
PyDoc_STRVAR(send_doc,
|
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.");
|
return next yielded value or raise StopIteration.");
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue