[3.14] Fix grammatical typos in documentation (GH-154181) (#154191)

tomasr8 <[email protected]>
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/67619cf28c4646afb793dbc3d731fb8760bb3f09
commit: 67619cf28c4646afb793dbc3d731fb8760bb3f09
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: tomasr8 <[email protected]>
date: 2026-07-20T08:35:36+02:00
summary:

[3.14] Fix grammatical typos in documentation (GH-154181) (#154191)

Fix grammatical typos in documentation (GH-154181)
(cherry picked from commit 40f7fbf4a53d2f2cb0414a22f891d6e7e288280c)

Co-authored-by: ilya <[email protected]>

files:
M Doc/library/ast.rst
M Doc/library/compression.zstd.rst
M Doc/library/sys.rst

diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index 2fbc391f7e556c..5338d407ca2259 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -1364,7 +1364,7 @@ Control flow
 
    ``try`` blocks which are followed by ``except*`` clauses. The attributes are the
    same as for :class:`Try` but the :class:`ExceptHandler` nodes in ``handlers``
-   are interpreted as ``except*`` blocks rather then ``except``.
+   are interpreted as ``except*`` blocks rather than ``except``.
 
    .. doctest::
 
diff --git a/Doc/library/compression.zstd.rst b/Doc/library/compression.zstd.rst
index 7ca843f27f5e9a..25459640f8e2e9 100644
--- a/Doc/library/compression.zstd.rst
+++ b/Doc/library/compression.zstd.rst
@@ -499,7 +499,7 @@ Advanced parameter control
    The :meth:`~.bounds` method can be used on any attribute to get the valid
    values for that parameter.
 
-   Parameters are optional; any omitted parameter will have it's value selected
+   Parameters are optional; any omitted parameter will have its value selected
    automatically.
 
    Example getting the lower and upper bound of :attr:`~.compression_level`::
@@ -728,7 +728,7 @@ Advanced parameter control
 
    An :class:`~enum.IntEnum` containing the advanced decompression parameter
    keys that can be used when decompressing data. Parameters are optional; any
-   omitted parameter will have it's value selected automatically.
+   omitted parameter will have its value selected automatically.
 
    The :meth:`~.bounds` method can be used on any attribute to get the valid
    values for that parameter.
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 3420f88e36f5f9..9078af7cac78d6 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -2017,7 +2017,7 @@ always available. Unless explicitly noted otherwise, all variables are read-only
    returned by the :func:`open` function.  Their parameters are chosen as
    follows:
 
-   * The encoding and error handling are is initialized from
+   * The encoding and error handling are initialized from
      :c:member:`PyConfig.stdio_encoding` and :c:member:`PyConfig.stdio_errors`.
 
      On Windows, UTF-8 is used for the console device.  Non-character

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.