summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorChristian Clauss <cclauss@me.com>2021-10-05 21:48:44 (GMT)
committerGitHub <noreply@github.com>2021-10-05 21:48:44 (GMT)
commit241bda785a092a272d7e0f6a4e20bd250c389cfe (patch)
treed1ec44882a46c83d3a91d6ce5e312954cffab269 /Doc/whatsnew
parent4c8d543823dde5a30615da61727837a48f7ab847 (diff)
downloadcpython-241bda785a092a272d7e0f6a4e20bd250c389cfe.zip
cpython-241bda785a092a272d7e0f6a4e20bd250c389cfe.tar.gz
cpython-241bda785a092a272d7e0f6a4e20bd250c389cfe.tar.bz2
[doc] Fix typos found using codespell (GH-28744)
Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
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 de25d15..b063255 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -1583,7 +1583,7 @@ Deprecated
* Currently Python accepts numeric literals immediately followed by keywords,
for example ``0in x``, ``1or x``, ``0if 1else 2``. It allows confusing
- and ambigious expressions like ``[0x1for x in y]`` (which can be
+ and ambiguous expressions like ``[0x1for x in y]`` (which can be
interpreted as ``[0x1 for x in y]`` or ``[0x1f or x in y]``). Starting in
this release, a deprecation warning is raised if the numeric literal is
immediately followed by one of keywords :keyword:`and`, :keyword:`else`,
@@ -1920,7 +1920,7 @@ Changes in the Python API
if the *globals* dictionary has no ``"__builtins__"`` key, rather than using
``{"None": None}`` as builtins: same behavior as :func:`eval` and
:func:`exec` functions. Defining a function with ``def function(...): ...``
- in Python is not affected, globals cannot be overriden with this syntax: it
+ in Python is not affected, globals cannot be overridden with this syntax: it
also inherits the current builtins.
(Contributed by Victor Stinner in :issue:`42990`.)