]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in whatsnew/3.10.rst (GH-25498)
authorJunWei Song <sungboss2004@gmail.com>
Wed, 21 Apr 2021 17:34:05 +0000 (01:34 +0800)
committerGitHub <noreply@github.com>
Wed, 21 Apr 2021 17:34:05 +0000 (18:34 +0100)
Doc/whatsnew/3.10.rst

index 4695c0ec913efa80cdd524a8fce37df4ddc1efb5..e77ae6068c30d4b2e06b1c90365b22a62512c122 100644 (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
 :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