Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5289550

Browse files
authored
gh-121374: Correct docstrings in _interpchannels (gh-121418)
1 parent 8ad6067 commit 5289550

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)