diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-18 10:54:54 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-05-18 10:54:54 (GMT) |
commit | e5ea1abf91f79b5eaa8ab638c28400285a8fabfd (patch) | |
tree | 4f175cf71355052ea6d04103d3466c927565ddf5 | |
parent | e23c90c344f8a47ee1a4abf6f23d5d0b09cde22a (diff) | |
download | cpython-e5ea1abf91f79b5eaa8ab638c28400285a8fabfd.zip cpython-e5ea1abf91f79b5eaa8ab638c28400285a8fabfd.tar.gz cpython-e5ea1abf91f79b5eaa8ab638c28400285a8fabfd.tar.bz2 |
Issue #27036: Fixed formatting references to "bytes-like object" in plural.
-rw-r--r-- | Doc/library/array.rst | 2 | ||||
-rw-r--r-- | Doc/library/audioop.rst | 2 | ||||
-rw-r--r-- | Doc/library/base64.rst | 2 | ||||
-rw-r--r-- | Doc/library/binascii.rst | 2 | ||||
-rw-r--r-- | Doc/library/hashlib.rst | 2 | ||||
-rw-r--r-- | Doc/library/io.rst | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/array.rst b/Doc/library/array.rst index 419d584..00406e0 100644 --- a/Doc/library/array.rst +++ b/Doc/library/array.rst @@ -91,7 +91,7 @@ Array objects support the ordinary sequence operations of indexing, slicing, concatenation, and multiplication. When using slice assignment, the assigned value must be an array object with the same type code; in all other cases, :exc:`TypeError` is raised. Array objects also implement the buffer interface, -and may be used wherever :term:`bytes-like object`\ s are supported. +and may be used wherever :term:`bytes-like objects <bytes-like object>` are supported. The following data items and methods are also supported: diff --git a/Doc/library/audioop.rst b/Doc/library/audioop.rst index e850c3f..08d5f81 100644 --- a/Doc/library/audioop.rst +++ b/Doc/library/audioop.rst @@ -7,7 +7,7 @@ The :mod:`audioop` module contains some useful operations on sound fragments. It operates on sound fragments consisting of signed integer samples 8, 16, 24 -or 32 bits wide, stored in :term:`bytes-like object`\ s. All scalar items are +or 32 bits wide, stored in :term:`bytes-like objects <bytes-like object>`. All scalar items are integers, unless specified otherwise. .. versionchanged:: 3.4 diff --git a/Doc/library/base64.rst b/Doc/library/base64.rst index 6e88a76..4b28b4e 100644 --- a/Doc/library/base64.rst +++ b/Doc/library/base64.rst @@ -40,7 +40,7 @@ package instead. the modern interface. .. versionchanged:: 3.4 - Any :term:`bytes-like object`\ s are now accepted by all + Any :term:`bytes-like objects <bytes-like object>` are now accepted by all encoding and decoding functions in this module. Ascii85/Base85 support added. The modern interface provides: diff --git a/Doc/library/binascii.rst b/Doc/library/binascii.rst index ff2bdda..259680f 100644 --- a/Doc/library/binascii.rst +++ b/Doc/library/binascii.rst @@ -21,7 +21,7 @@ higher-level modules. .. note:: ``a2b_*`` functions accept Unicode strings containing only ASCII characters. - Other functions only accept :term:`bytes-like object`\ s (such as + Other functions only accept :term:`bytes-like objects <bytes-like object>` (such as :class:`bytes`, :class:`bytearray` and other objects that support the buffer protocol). diff --git a/Doc/library/hashlib.rst b/Doc/library/hashlib.rst index 8eb3fd5..900764b 100644 --- a/Doc/library/hashlib.rst +++ b/Doc/library/hashlib.rst @@ -41,7 +41,7 @@ Hash algorithms There is one constructor method named for each type of :dfn:`hash`. All return a hash object with the same simple interface. For example: use :func:`sha1` to create a SHA1 hash object. You can now feed this object with :term:`bytes-like -object`\ s (normally :class:`bytes`) using the :meth:`update` method. +objects <bytes-like object>` (normally :class:`bytes`) using the :meth:`update` method. At any point you can ask it for the :dfn:`digest` of the concatenation of the data fed to it so far using the :meth:`digest` or :meth:`hexdigest` methods. diff --git a/Doc/library/io.rst b/Doc/library/io.rst index cb3e9ed..cd81cf9 100644 --- a/Doc/library/io.rst +++ b/Doc/library/io.rst @@ -130,7 +130,7 @@ High-level Module Interface In-memory streams ^^^^^^^^^^^^^^^^^ -It is also possible to use a :class:`str` or :class:`bytes`-like object as a +It is also possible to use a :class:`str` or :term:`bytes-like object` as a file for both reading and writing. For strings :class:`StringIO` can be used like a file opened in text mode. :class:`BytesIO` can be used like a file opened in binary mode. Both provide full read-write capabilities with random |