summaryrefslogtreecommitdiffstats
path: root/Lib/contextlib.py
diff options
context:
space:
mode:
authorBinbin <binloveplay1314@qq.com>2021-06-13 02:47:44 (GMT)
committerGitHub <noreply@github.com>2021-06-13 02:47:44 (GMT)
commit17b16e13bb444001534ed6fccb459084596c8bcf (patch)
tree569101fcca308843dd1ff731dbd74682d7700f6f /Lib/contextlib.py
parent736ed6f7a9f465ba728198e8bca81e5fbe71bc37 (diff)
downloadcpython-17b16e13bb444001534ed6fccb459084596c8bcf.zip
cpython-17b16e13bb444001534ed6fccb459084596c8bcf.tar.gz
cpython-17b16e13bb444001534ed6fccb459084596c8bcf.tar.bz2
Fix typos in multiple files (GH-26689)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/contextlib.py')
-rw-r--r--Lib/contextlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/contextlib.py b/Lib/contextlib.py
index eb59461..1a8ef61 100644
--- a/Lib/contextlib.py
+++ b/Lib/contextlib.py
@@ -224,7 +224,7 @@ class _AsyncGeneratorContextManager(_GeneratorContextManagerBase,
# was passed to throw() and later wrapped into a RuntimeError
# (see PEP 479 for sync generators; async generators also
# have this behavior). But do this only if the exception wrapped
- # by the RuntimeError is actully Stop(Async)Iteration (see
+ # by the RuntimeError is actually Stop(Async)Iteration (see
# issue29692).
if isinstance(value, (StopIteration, StopAsyncIteration)):
if exc.__cause__ is value: