Skip to content

Commit c76f191

Browse files
F0RRZZmarat
authored andcommitted
pythongh-138902: Fix generator send arg name (pythonGH-138905)
(cherry picked from commit cb07bd2) Co-authored-by: Marat Khagazheev <[email protected]> Co-authored-by: marat <[email protected]>
1 parent 80e59a8 commit c76f191

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/genobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ gen_send_ex(PyGenObject *gen, PyObject *arg, int exc, int closing)
315315
}
316316

317317
PyDoc_STRVAR(send_doc,
318-
"send(arg) -> send 'arg' into generator,\n\
318+
"send(value) -> send 'value' into generator,\n\
319319
return next yielded value or raise StopIteration.");
320320

321321
static PyObject *

0 commit comments

Comments
 (0)