Fix typos in multiple files (GH-26689)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
Binbin 2021-06-13 10:47:44 +08:00 committed by GitHub
parent 736ed6f7a9
commit 17b16e13bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 1023 additions and 1023 deletions

View file

@ -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: