From b4860a0e10a42f35fb113edc905001cc2ab134fd Mon Sep 17 00:00:00 2001 From: Ilya Torbin Date: Sun, 19 Jul 2026 22:30:05 +0300 Subject: [PATCH] [3.13] Fix grammatical typos in documentation (GH-154181) (cherry picked from commit 40f7fbf4a53d2f2cb0414a22f891d6e7e288280c) Co-authored-by: ilya <110783299+bontail@users.noreply.github.com> --- Doc/library/ast.rst | 2 +- Doc/library/sys.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index 3e1d9fde3fc6067..9de5f462fc28c6a 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 52ca502012b1570..0b8c244482ac574 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