From: JunWei Song Date: Wed, 21 Apr 2021 17:34:05 +0000 (+0800) Subject: Fix typo in whatsnew/3.10.rst (GH-25498) X-Git-Tag: v3.10.0b1~224 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=18e0d328043c7cc9e612e08d414c2a787cfe26c0;p=thirdparty%2FPython%2Fcpython.git Fix typo in whatsnew/3.10.rst (GH-25498) --- diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst index 4695c0ec913e..e77ae6068c30 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