[Python-checkins] cpython (2.7): Fix typo reported by Jesse W on docs@
zach.ware
python-checkins at python.org
Mon Jun 16 18:15:23 CEST 2014
http://hg.python.org/cpython/rev/d81500d13604
changeset: 91216:d81500d13604
branch: 2.7
parent: 91210:f254ceec0d45
user: Zachary Ware <zachary.ware at gmail.com>
date: Mon Jun 16 11:13:01 2014 -0500
summary:
Fix typo reported by Jesse W on docs@
files:
Doc/howto/functional.rst | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Doc/howto/functional.rst b/Doc/howto/functional.rst
--- a/Doc/howto/functional.rst
+++ b/Doc/howto/functional.rst
@@ -587,7 +587,8 @@
Because ``yield`` will often be returning ``None``, you should always check for
this case. Don't just use its value in expressions unless you're sure that the
-``send()`` method will be the only method used resume your generator function.
+``send()`` method will be the only method used to resume your generator
+function.
In addition to ``send()``, there are two other new methods on generators:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list