]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] Fix grammatical typos in documentation (GH-154181) (#154193)
authorilya <110783299+bontail@users.noreply.github.com>
Sun, 19 Jul 2026 19:50:08 +0000 (22:50 +0300)
committerGitHub <noreply@github.com>
Sun, 19 Jul 2026 19:50:08 +0000 (19:50 +0000)
(cherry picked from commit 40f7fbf4a53d2f2cb0414a22f891d6e7e288280c)

Doc/library/ast.rst
Doc/library/sys.rst

index 3e1d9fde3fc6067f63da283b308ecaf3ba08ccd3..9de5f462fc28c6ad05512a0722d331bb4062191e 100644 (file)
@@ -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::
 
index 52ca502012b1570bb2d5a39f36ded1785d3afabc..0b8c244482ac574ac3f0c9d7c5cbf2f2b9f614e4 100644 (file)
@@ -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