diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-05-04 15:06:34 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-05-04 15:06:34 (GMT) |
commit | c228e96726129e20519a2016075fca3dc9fdcd30 (patch) | |
tree | bf6fca50fa7f3fd47fdfe20fbed1baf2d65f2585 /Doc/library/multiprocessing.rst | |
parent | 28faf03d4474d184b30a8013c70845b6600d456d (diff) | |
download | cpython-c228e96726129e20519a2016075fca3dc9fdcd30.zip cpython-c228e96726129e20519a2016075fca3dc9fdcd30.tar.gz cpython-c228e96726129e20519a2016075fca3dc9fdcd30.tar.bz2 |
#16518: use "bytes-like object" throughout the docs.
Diffstat (limited to 'Doc/library/multiprocessing.rst')
-rw-r--r-- | Doc/library/multiprocessing.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst index fe38d23..1c18062 100644 --- a/Doc/library/multiprocessing.rst +++ b/Doc/library/multiprocessing.rst @@ -800,8 +800,7 @@ Connection objects are usually created using :func:`Pipe` -- see also .. method:: send_bytes(buffer[, offset[, size]]) - Send byte data from an object supporting the buffer interface as a - complete message. + Send byte data from a :term:`bytes-like object` as a complete message. If *offset* is given then data is read from that position in *buffer*. If *size* is given then that many bytes will be read from buffer. Very large @@ -832,7 +831,7 @@ Connection objects are usually created using :func:`Pipe` -- see also :exc:`EOFError` if there is nothing left to receive and the other end was closed. - *buffer* must be an object satisfying the writable buffer interface. If + *buffer* must be a writable :term:`bytes-like object`. If *offset* is given then the message will be written into the buffer from that position. Offset must be a non-negative integer less than the length of *buffer* (in bytes). |