Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update the doc strings.
  • Loading branch information
ericsnowcurrently committed Oct 9, 2023
commit d3aefb8486dec63d0d8fe454500f394311f33e18
10 changes: 6 additions & 4 deletions Modules/_xxinterpchannelsmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -2556,9 +2556,10 @@ channel_send(PyObject *self, PyObject *args, PyObject *kwds)
}

PyDoc_STRVAR(channel_send_doc,
"channel_send(cid, obj)\n\
"channel_send(cid, obj, wait=True)\n\
\n\
Add the object's data to the channel's queue.");
Add the object's data to the channel's queue.\n\
By default this waits for the object to be received.");

static PyObject *
channel_send_buffer(PyObject *self, PyObject *args, PyObject *kwds)
Expand Down Expand Up @@ -2616,9 +2617,10 @@ channel_send_buffer(PyObject *self, PyObject *args, PyObject *kwds)
}

PyDoc_STRVAR(channel_send_buffer_doc,
"channel_send_buffer(cid, obj)\n\
"channel_send_buffer(cid, obj, wait=True)\n\
\n\
Add the object's buffer to the channel's queue.");
Add the object's buffer to the channel's queue.\n\
By default this waits for the object to be received.");

static PyObject *
channel_recv(PyObject *self, PyObject *args, PyObject *kwds)
Expand Down