]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-121374: Correct docstrings in `_interpchannels` (gh-121501)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 8 Jul 2024 16:57:10 +0000 (18:57 +0200)
committerGitHub <noreply@github.com>
Mon, 8 Jul 2024 16:57:10 +0000 (16:57 +0000)
(cherry picked from commit 5289550b33de3d56f89a5d44a665283f7c8483a7, AKA gh-121418)

Co-authored-by: Max Muoto <maxmuoto@gmail.com>
Modules/_interpchannelsmodule.c

index ff8dacf5bd1ad0e681f3b002aa6303096a4509e2..47dbdeb9a37c444842559ab370bd402b3e1ea737 100644 (file)
@@ -2977,7 +2977,7 @@ channelsmod_send(PyObject *self, PyObject *args, PyObject *kwds)
 }
 
 PyDoc_STRVAR(channelsmod_send_doc,
-"channel_send(cid, obj, blocking=True)\n\
+"channel_send(cid, obj, *, blocking=True, timeout=None)\n\
 \n\
 Add the object's data to the channel's queue.\n\
 By default this waits for the object to be received.");
@@ -3027,7 +3027,7 @@ channelsmod_send_buffer(PyObject *self, PyObject *args, PyObject *kwds)
 }
 
 PyDoc_STRVAR(channelsmod_send_buffer_doc,
-"channel_send_buffer(cid, obj, blocking=True)\n\
+"channel_send_buffer(cid, obj, *, blocking=True, timeout=None)\n\
 \n\
 Add the object's buffer to the channel's queue.\n\
 By default this waits for the object to be received.");