Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c9736b4b
Commit
c9736b4b
authored
May 18, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Plain Diff
Issue #27036: Fixed formatting references to "bytes-like object" in plural.
parents
b6686fe0
e5ea1abf
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
6 additions
and
6 deletions
+6
-6
Doc/library/array.rst
Doc/library/array.rst
+1
-1
Doc/library/audioop.rst
Doc/library/audioop.rst
+1
-1
Doc/library/base64.rst
Doc/library/base64.rst
+1
-1
Doc/library/binascii.rst
Doc/library/binascii.rst
+1
-1
Doc/library/hashlib.rst
Doc/library/hashlib.rst
+1
-1
Doc/library/io.rst
Doc/library/io.rst
+1
-1
No files found.
Doc/library/array.rst
View file @
c9736b4b
...
...
@@ -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 object
s <bytes-like object>`
are supported.
The following data items and methods are also supported:
...
...
Doc/library/audioop.rst
View file @
c9736b4b
...
...
@@ -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 object
s <bytes-like object>`
. All scalar items are
integers, unless specified otherwise.
.. versionchanged:: 3.4
...
...
Doc/library/base64.rst
View file @
c9736b4b
...
...
@@ -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
object
s
<
bytes
-
like
object
>`
are
now
accepted
by
all
encoding
and
decoding
functions
in
this
module
.
Ascii85
/
Base85
support
added
.
The
modern
interface
provides
:
...
...
Doc/library/binascii.rst
View file @
c9736b4b
...
...
@@ -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 object
s <bytes-like object>`
(such as
:class:`bytes`, :class:`bytearray` and other objects that support the buffer
protocol).
...
...
Doc/library/hashlib.rst
View file @
c9736b4b
...
...
@@ -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.
object
s <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.
...
...
Doc/library/io.rst
View file @
c9736b4b
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment