[Python-checkins] Fix typo in whatsnew/3.10.rst (GH-25498)
pablogsal
webhook-mailer at python.org
Wed Apr 21 13:34:13 EDT 2021
https://github.com/python/cpython/commit/18e0d328043c7cc9e612e08d414c2a787cfe26c0
commit: 18e0d328043c7cc9e612e08d414c2a787cfe26c0
branch: master
author: JunWei Song <sungboss2004 at gmail.com>
committer: pablogsal <Pablogsal at gmail.com>
date: 2021-04-21T18:34:05+01:00
summary:
Fix typo in whatsnew/3.10.rst (GH-25498)
files:
M Doc/whatsnew/3.10.rst
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 4695c0ec913ef..e77ae6068c30d 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -171,7 +171,7 @@ These improvements are inspired by previous work in the PyPy interpreter.
(Contributed by Pablo Galindo in :issue:`42864` and Batuhan Taskaya in
:issue:`40176`.)
-A considerable ammount of new specialized messages for :exc:`SyntaxError` exceptions
+A considerable amount of new specialized messages for :exc:`SyntaxError` exceptions
have been incorporated. Some of the most notable ones:
* Missing ``:`` before blocks:
@@ -310,7 +310,7 @@ NameErrors
~~~~~~~~~~
When printing :exc:`NameError` raised by the interpreter, :c:func:`PyErr_Display`
-will offer suggestions of simmilar variable names in the function that the exception
+will offer suggestions of similar variable names in the function that the exception
was raised from:
.. code-block:: python
More information about the Python-checkins
mailing list