8000 [3.13] gh-121374: Correct docstrings in `_interpchannels` (gh-121501) · python/cpython@bccfd8a · GitHub
[go: up one dir, main page]

Skip to content

Commit bccfd8a

Browse files
[3.13] gh-121374: Correct docstrings in _interpchannels (gh-121501)
(cherry picked from commit 5289550, AKA gh-121418) Co-authored-by: Max Muoto <maxmuoto@gmail.com>
1 parent 0790418 commit bccfd8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_interpchannelsmodule.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2977,7 +2977,7 @@ channelsmod_send(PyObject *self, PyObject *args, PyObject *kwds)
29772977
}
29782978

29792979
PyDoc_STRVAR(channelsmod_send_doc,
2980-
"channel_send(cid, obj, blocking=True)\n\
2980+
"channel_send(cid, obj, *, blocking=True, timeout=None)\n\
29812981
\n\
29822982
Add the object's data to the channel's queue.\n\
29832983
By default this waits for the object to be received.");
@@ -3027,7 +3027,7 @@ channelsmod_send_buffer(PyObject *self, PyObject *args, PyObject *kwds)
30273027
}
30283028

30293029
PyDoc_STRVAR(channelsmod_send_buffer_doc,
3030-
"channel_send_buffer(cid, obj, blocking=True)\n\
3030+
"channel_send_buffer(cid, obj, *, blocking=True, timeout=None)\n\
30313031
\n\
30323032
Add the object's buffer to the channel's queue.\n\
30333033
By default this waits for the object to be received.");

0 commit comments

Comments
 (0)
0