summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorJunWei Song <sungboss2004@gmail.com>2021-04-21 17:34:05 (GMT)
committerGitHub <noreply@github.com>2021-04-21 17:34:05 (GMT)
commit18e0d328043c7cc9e612e08d414c2a787cfe26c0 (patch)
treecc58498c726b1be4477f9f8d37a6d4f53ea1d55f /Doc/whatsnew
parenta02cb474f9c097c83cd444a47e9fb5f99b4aaf45 (diff)
downloadcpython-18e0d328043c7cc9e612e08d414c2a787cfe26c0.zip
cpython-18e0d328043c7cc9e612e08d414c2a787cfe26c0.tar.gz
cpython-18e0d328043c7cc9e612e08d414c2a787cfe26c0.tar.bz2
Fix typo in whatsnew/3.10.rst (GH-25498)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.10.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 4695c0e..e77ae60 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