Skip to content

Commit b7c3b52

Browse files
[3.15] Fix grammatical typos in documentation (GH-154181) (#154190)
Fix grammatical typos in documentation (GH-154181) (cherry picked from commit 40f7fbf) Co-authored-by: ilya <110783299+bontail@users.noreply.github.com>
1 parent 404a81d commit b7c3b52

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
@@ -1366,7 +1366,7 @@ Control flow
13661366

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

13711371
.. doctest::
13721372

Doc/library/compression.zstd.rst

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

506-
Parameters are optional; any omitted parameter will have it's value selected
506+
Parameters are optional; any omitted parameter will have its value selected
507507
automatically.
508508

509509
Example getting the lower and upper bound of :attr:`~.compression_level`::
@@ -732,7 +732,7 @@ Advanced parameter control
732732

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

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

Doc/library/sys.rst

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

2163-
* The encoding and error handling are is initialized from
2163+
* The encoding and error handling are initialized from
21642164
:c:member:`PyConfig.stdio_encoding` and :c:member:`PyConfig.stdio_errors`.
21652165

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

0 commit comments

Comments
 (0)