Skip to content

Commit 3918b1e

Browse files
committed
Issue python#14793: fix grammar in bytes object paragraph; patch by Tshepang Lekhonkhobe
1 parent 38b86b4 commit 3918b1e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Doc/library/stdtypes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -819,7 +819,8 @@ string literals. In addition to the functionality described here, there are
819819
also string-specific methods described in the :ref:`string-methods` section.
820820

821821
Bytes and bytearray objects contain single bytes -- the former is immutable
822-
while the latter is a mutable sequence. Bytes objects can be constructed the
822+
while the latter is a mutable sequence.
823+
Bytes objects can be constructed by using the
823824
constructor, :func:`bytes`, and from literals; use a ``b`` prefix with normal
824825
string syntax: ``b'xyzzy'``. To construct byte arrays, use the
825826
:func:`bytearray` function.

0 commit comments

Comments
 (0)