diff options
author | R David Murray <rdmurray@bitdance.com> | 2016-08-24 00:43:56 (GMT) |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2016-08-24 00:43:56 (GMT) |
commit | 48de28290ca1f71ddaa04553997e53c8fcf7e14e (patch) | |
tree | 7115717c640214683b919cda2a0185469914cba4 /Doc/library | |
parent | efa798d1ba08687ff68f114e905b58686dc2e5d5 (diff) | |
download | cpython-48de28290ca1f71ddaa04553997e53c8fcf7e14e.zip cpython-48de28290ca1f71ddaa04553997e53c8fcf7e14e.tar.gz cpython-48de28290ca1f71ddaa04553997e53c8fcf7e14e.tar.bz2 |
#25916: fix a few 'string of bytes' references.
Patch by SilengGhost.
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/logging.config.rst | 2 | ||||
-rw-r--r-- | Doc/library/sunau.rst | 2 | ||||
-rw-r--r-- | Doc/library/wave.rst | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/logging.config.rst b/Doc/library/logging.config.rst index b4c9bc3..794cd22 100644 --- a/Doc/library/logging.config.rst +++ b/Doc/library/logging.config.rst @@ -144,7 +144,7 @@ in :mod:`logging` itself) and defining handlers which are declared either in (perhaps if decryption were performed). To send a configuration to the socket, read in the configuration file and - send it to the socket as a string of bytes preceded by a four-byte length + send it to the socket as a sequence of bytes preceded by a four-byte length string packed in binary using ``struct.pack('>L', n)``. .. note:: diff --git a/Doc/library/sunau.rst b/Doc/library/sunau.rst index d0fd0a3..1ecc7a7 100644 --- a/Doc/library/sunau.rst +++ b/Doc/library/sunau.rst @@ -158,7 +158,7 @@ AU_read objects, as returned by :func:`.open` above, have the following methods: .. method:: AU_read.readframes(n) - Reads and returns at most *n* frames of audio, as a string of bytes. The data + Reads and returns at most *n* frames of audio, as a :class:`bytes` object. The data will be returned in linear format. If the original data is in u-LAW format, it will be converted. diff --git a/Doc/library/wave.rst b/Doc/library/wave.rst index 7144379..a9b3205 100644 --- a/Doc/library/wave.rst +++ b/Doc/library/wave.rst @@ -112,7 +112,7 @@ Wave_read objects, as returned by :func:`.open`, have the following methods: .. method:: Wave_read.readframes(n) - Reads and returns at most *n* frames of audio, as a string of bytes. + Reads and returns at most *n* frames of audio, as a :class:`bytes` object. .. method:: Wave_read.rewind() |