Skip to content

Commit 67619cf

Browse files
[3.14] Fix grammatical typos in documentation (GH-154181) (#154191)
Fix grammatical typos in documentation (GH-154181) (cherry picked from commit 40f7fbf) Co-authored-by: ilya <110783299+bontail@users.noreply.github.com>
1 parent 2a1f381 commit 67619cf

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Doc/library/ast.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,7 @@ Control flow
13641364

13651365
``try`` blocks which are followed by ``except*`` clauses. The attributes are the
13661366
same as for :class:`Try` but the :class:`ExceptHandler` nodes in ``handlers``
1367-
are interpreted as ``except*`` blocks rather then ``except``.
1367+
are interpreted as ``except*`` blocks rather than ``except``.
13681368

13691369
.. doctest::
13701370

Doc/library/compression.zstd.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ Advanced parameter control
499499
The :meth:`~.bounds` method can be used on any attribute to get the valid
500500
values for that parameter.
501501

502-
Parameters are optional; any omitted parameter will have it's value selected
502+
Parameters are optional; any omitted parameter will have its value selected
503503
automatically.
504504

505505
Example getting the lower and upper bound of :attr:`~.compression_level`::
@@ -728,7 +728,7 @@ Advanced parameter control
728728

729729
An :class:`~enum.IntEnum` containing the advanced decompression parameter
730730
keys that can be used when decompressing data. Parameters are optional; any
731-
omitted parameter will have it's value selected automatically.
731+
omitted parameter will have its value selected automatically.
732732

733733
The :meth:`~.bounds` method can be used on any attribute to get the valid
734734
values for that parameter.

Doc/library/sys.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2017,7 +2017,7 @@ always available. Unless explicitly noted otherwise, all variables are read-only
20172017
returned by the :func:`open` function. Their parameters are chosen as
20182018
follows:
20192019

2020-
* The encoding and error handling are is initialized from
2020+
* The encoding and error handling are initialized from
20212021
:c:member:`PyConfig.stdio_encoding` and :c:member:`PyConfig.stdio_errors`.
20222022

20232023
On Windows, UTF-8 is used for the console device. Non-character

0 commit comments

Comments
 (0)