Skip to content

Commit cc82e1b

Browse files
committed
Fix grammatical typos in documentation
- sys.rst: "are is initialized" -> "are initialized" - ast.rst: "rather then" -> "rather than" - compression.zstd.rst: "it's value" -> "its value" (two occurrences)
1 parent da5713c commit cc82e1b

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
@@ -2135,7 +2135,7 @@ always available. Unless explicitly noted otherwise, all variables are read-only
21352135
returned by the :func:`open` function. Their parameters are chosen as
21362136
follows:
21372137

2138-
* The encoding and error handling are is initialized from
2138+
* The encoding and error handling are initialized from
21392139
:c:member:`PyConfig.stdio_encoding` and :c:member:`PyConfig.stdio_errors`.
21402140

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

0 commit comments

Comments
 (0)