From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Mon, 8 Jul 2024 16:57:10 +0000 (+0200) Subject: [3.13] gh-121374: Correct docstrings in `_interpchannels` (gh-121501) X-Git-Tag: v3.13.0b4~104 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bccfd8a53f0c96480526887762ed4f833cd957cb;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-121374: Correct docstrings in `_interpchannels` (gh-121501) (cherry picked from commit 5289550b33de3d56f89a5d44a665283f7c8483a7, AKA gh-121418) Co-authored-by: Max Muoto --- diff --git a/Modules/_interpchannelsmodule.c b/Modules/_interpchannelsmodule.c index ff8dacf5bd1a..47dbdeb9a37c 100644 --- a/Modules/_interpchannelsmodule.c +++ b/Modules/_interpchannelsmodule.c @@ -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.");