Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e5ea1ab

Browse files
Issue #27036: Fixed formatting references to "bytes-like object" in plural.
1 parent e23c90c commit e5ea1ab

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/library/array.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Array objects support the ordinary sequence operations of indexing, slicing,
9191
concatenation, and multiplication. When using slice assignment, the assigned
9292
value must be an array object with the same type code; in all other cases,
9393
:exc:`TypeError` is raised. Array objects also implement the buffer interface,
94-
and may be used wherever :term:`bytes-like object`\ s are supported.
94+
and may be used wherever :term:`bytes-like objects <bytes-like object>` are supported.
9595

9696
The following data items and methods are also supported:
9797

Doc/library/audioop.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
The :mod:`audioop` module contains some useful operations on sound fragments.
99
It operates on sound fragments consisting of signed integer samples 8, 16, 24
10-
or 32 bits wide, stored in :term:`bytes-like object`\ s. All scalar items are
10+
or 32 bits wide, stored in :term:`bytes-like objects <bytes-like object>`. All scalar items are
1111
integers, unless specified otherwise.
1212

1313
.. versionchanged:: 3.4

Doc/library/base64.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ package instead.
4040
the modern interface.
4141

4242
.. versionchanged:: 3.4
43-
Any :term:`bytes-like object`\ s are now accepted by all
43+
Any :term:`bytes-like objects <bytes-like object>` are now accepted by all
4444
encoding and decoding functions in this module. Ascii85/Base85 support added.
4545

4646
The modern interface provides:

Doc/library/binascii.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ higher-level modules.
2121
.. note::
2222

2323
``a2b_*`` functions accept Unicode strings containing only ASCII characters.
24-
Other functions only accept :term:`bytes-like object`\ s (such as
24+
Other functions only accept :term:`bytes-like objects <bytes-like object>` (such as
2525
:class:`bytes`, :class:`bytearray` and other objects that support the buffer
2626
protocol).
2727

Doc/library/hashlib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Hash algorithms
4141
There is one constructor method named for each type of :dfn:`hash`. All return
4242
a hash object with the same simple interface. For example: use :func:`sha1` to
4343
create a SHA1 hash object. You can now feed this object with :term:`bytes-like
44-
object`\ s (normally :class:`bytes`) using the :meth:`update` method.
44+
objects <bytes-like object>` (normally :class:`bytes`) using the :meth:`update` method.
4545
At any point you can ask it for the :dfn:`digest` of the
4646
concatenation of the data fed to it so far using the :meth:`digest` or
4747
:meth:`hexdigest` methods.

Doc/library/io.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ High-level Module Interface
130130
In-memory streams
131131
^^^^^^^^^^^^^^^^^
132132

133-
It is also possible to use a :class:`str` or :class:`bytes`-like object as a
133+
It is also possible to use a :class:`str` or :term:`bytes-like object` as a
134134
file for both reading and writing. For strings :class:`StringIO` can be used
135135
like a file opened in text mode. :class:`BytesIO` can be used like a file
136136
opened in binary mode. Both provide full read-write capabilities with random

0 commit comments

Comments
 (0)