Fix a typo (#1162)

This commit is contained in:
Huong Minh Luu 2019-09-11 19:52:27 +10:00 committed by Chris Angelico
parent 70ecf28d8f
commit 53ac4d91a5
1 changed files with 1 additions and 1 deletions

View File

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