[3.13] Fix grammatical typos in documentation (GH-154181) (#154193)

picnixz <[email protected]>
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/c8de3912550cf3d1fdeb8a72e5dfcd660ac2573a
commit: c8de3912550cf3d1fdeb8a72e5dfcd660ac2573a
branch: 3.13
author: ilya <[email protected]>
committer: picnixz <[email protected]>
date: 2026-07-19T19:50:08Z
summary:

[3.13] Fix grammatical typos in documentation (GH-154181) (#154193)

(cherry picked from commit 40f7fbf4a53d2f2cb0414a22f891d6e7e288280c)

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

diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst
index 3e1d9fde3fc606..9de5f462fc28c6 100644
--- a/Doc/library/ast.rst
+++ b/Doc/library/ast.rst
@@ -1301,7 +1301,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/sys.rst b/Doc/library/sys.rst
index 52ca502012b157..0b8c244482ac57 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -1835,7 +1835,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.