Skip to content

Commit c8de391

Browse files
authored
[3.13] Fix grammatical typos in documentation (GH-154181) (#154193)
(cherry picked from commit 40f7fbf)
1 parent 6a9c478 commit c8de391

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/ast.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1301,7 +1301,7 @@ Control flow
13011301

13021302
``try`` blocks which are followed by ``except*`` clauses. The attributes are the
13031303
same as for :class:`Try` but the :class:`ExceptHandler` nodes in ``handlers``
1304-
are interpreted as ``except*`` blocks rather then ``except``.
1304+
are interpreted as ``except*`` blocks rather than ``except``.
13051305

13061306
.. doctest::
13071307

Doc/library/sys.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1835,7 +1835,7 @@ always available. Unless explicitly noted otherwise, all variables are read-only
18351835
returned by the :func:`open` function. Their parameters are chosen as
18361836
follows:
18371837

1838-
* The encoding and error handling are is initialized from
1838+
* The encoding and error handling are initialized from
18391839
:c:member:`PyConfig.stdio_encoding` and :c:member:`PyConfig.stdio_errors`.
18401840

18411841
On Windows, UTF-8 is used for the console device. Non-character

0 commit comments

Comments
 (0)