From: ilya <110783299+bontail@users.noreply.github.com> Date: Sun, 19 Jul 2026 19:50:08 +0000 (+0300) Subject: [3.13] Fix grammatical typos in documentation (GH-154181) (#154193) X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c8de3912550cf3d1fdeb8a72e5dfcd660ac2573a;p=thirdparty%2FPython%2Fcpython.git [3.13] Fix grammatical typos in documentation (GH-154181) (#154193) (cherry picked from commit 40f7fbf4a53d2f2cb0414a22f891d6e7e288280c) --- diff --git a/Doc/library/ast.rst b/Doc/library/ast.rst index 3e1d9fde3fc6..9de5f462fc28 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 52ca502012b1..0b8c244482ac 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