Skip to content

Commit cb07bd2

Browse files
F0RRZZmarat
andauthored
gh-138902: Fix generator send arg name (#138905)
Co-authored-by: marat <[email protected]>
1 parent c5180d7 commit cb07bd2

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)