From 18e0d328043c7cc9e612e08d414c2a787cfe26c0 Mon Sep 17 00:00:00 2001 From: JunWei Song Date: Thu, 22 Apr 2021 01:34:05 +0800 Subject: [PATCH] Fix typo in whatsnew/3.10.rst (GH-25498) --- Doc/whatsnew/3.10.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 4695c0ec913..e77ae6068c3 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