Fix a typo (#1162)
This commit is contained in:
parent
70ecf28d8f
commit
53ac4d91a5
|
@ -15,7 +15,7 @@ Abstract
|
|||
========
|
||||
|
||||
This PEP proposes a change to generators: when ``StopIteration`` is
|
||||
raised inside a generator, it is replaced it with ``RuntimeError``.
|
||||
raised inside a generator, it is replaced with ``RuntimeError``.
|
||||
(More precisely, this happens when the exception is about to bubble
|
||||
out of the generator's stack frame.) Because the change is backwards
|
||||
incompatible, the feature is initially introduced using a
|
||||
|
|
Loading…
Reference in New Issue