Fix typo in whatsnew/3.10.rst (GH-25498)

This commit is contained in:
JunWei Song 2021-04-22 01:34:05 +08:00 committed by GitHub
parent a02cb474f9
commit 18e0d32804
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 (Contributed by Pablo Galindo in :issue:`42864` and Batuhan Taskaya in
:issue:`40176`.) :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: have been incorporated. Some of the most notable ones:
* Missing ``:`` before blocks: * Missing ``:`` before blocks:
@ -310,7 +310,7 @@ NameErrors
~~~~~~~~~~ ~~~~~~~~~~
When printing :exc:`NameError` raised by the interpreter, :c:func:`PyErr_Display` 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: was raised from:
.. code-block:: python .. code-block:: python