From 53ac4d91a5e995bdcacfa17a83e94f414f00f0f9 Mon Sep 17 00:00:00 2001 From: Huong Minh Luu Date: Wed, 11 Sep 2019 19:52:27 +1000 Subject: [PATCH] Fix a typo (#1162) --- pep-0479.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep-0479.txt b/pep-0479.txt index f00ab0e32..4bb2e3321 100644 --- a/pep-0479.txt +++ b/pep-0479.txt @@ -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