mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
gh-121374: Correct docstrings in _interpchannels (gh-121418)
This commit is contained in:
parent
8ad6067bd4
commit
5289550b33
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue