mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
Fix typos in multiple files (GH-26689)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
parent
736ed6f7a9
commit
17b16e13bb
24 changed files with 1023 additions and 1023 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue