mirror of https://github.com/python/cpython
gh-121374: Correct docstrings in `_interpchannels` (gh-121418)
This commit is contained in:
parent
8ad6067bd4
commit
5289550b33
|
@ -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.");
|
||||
|
|
Loading…
Reference in New Issue