[Python-checkins] python/nondist/peps pep-0340.txt,1.9,1.10

montanaro at users.sourceforge.net montanaro at users.sourceforge.net
Fri Apr 29 17:23:36 CEST 2005


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4754

Modified Files:
	pep-0340.txt 
Log Message:
typos


Index: pep-0340.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0340.txt,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- pep-0340.txt	29 Apr 2005 14:44:31 -0000	1.9
+++ pep-0340.txt	29 Apr 2005 15:23:34 -0000	1.10
@@ -277,7 +277,7 @@
     Note that a yield-statement (or a yield-expression, see below) in
     a block-statement is not treated differently.  It suspends the
     function containing the block *without* notifying the block's
-    iterator.  The blocks's iterator is entirely unaware of this
+    iterator.  The block's iterator is entirely unaware of this
     yield, since the local control flow doesn't actually leave the
     block. In other words, it is *not* like a break, continue or
     return statement.  When the loop that was resumed by the yield
@@ -351,7 +351,7 @@
     garbage-collected.  This is no different than the guarantees that
     are made about finalizers (__del__() methods) of other objects.
 
-    Note: the syntactic extensions to yield make it use very similar
+    Note: the syntactic extensions to yield make its use very similar
     to that in Ruby.  This is intentional.  Do note that in Python the
     block passes a value to the generator using "continue EXPR" rather
     than "return EXPR", and the underlying mechanism whereby control



More information about the Python-checkins mailing list