[Python-checkins] peps: use correct article (closes #22342)
benjamin.peterson
python-checkins at python.org
Fri Sep 5 22:28:57 CEST 2014
http://hg.python.org/peps/rev/4b03ae00a76b
changeset: 5547:4b03ae00a76b
user: Benjamin Peterson <benjamin at python.org>
date: Fri Sep 05 16:28:49 2014 -0400
summary:
use correct article (closes #22342)
files:
pep-0380.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pep-0380.txt b/pep-0380.txt
--- a/pep-0380.txt
+++ b/pep-0380.txt
@@ -207,7 +207,7 @@
The rationale behind most of the semantics presented above stems from
the desire to be able to refactor generator code. It should be
-possible to take an section of code containing one or more ``yield``
+possible to take a section of code containing one or more ``yield``
expressions, move it into a separate function (using the usual
techniques to deal with references to variables in the surrounding
scope, etc.), and call the new function using a ``yield from``
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list