[Python-checkins] python/nondist/peps pep-0340.txt,1.22,1.23

gvanrossum@users.sourceforge.net gvanrossum at users.sourceforge.net
Wed May 4 23:00:49 CEST 2005


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

Modified Files:
	pep-0340.txt 
Log Message:
Fix bug in example 5 found by Reinhold Birkenfeld.


Index: pep-0340.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0340.txt,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- pep-0340.txt	4 May 2005 01:03:17 -0000	1.22
+++ pep-0340.txt	4 May 2005 21:00:46 -0000	1.23
@@ -568,7 +568,7 @@
 
        Used as follows:
 
-        block locking_opening("/etc/passwd", myLock) as f:
+        block locking_opening(myLock, "/etc/passwd") as f:
             for line in f:
                 print line.rstrip()
 
@@ -652,9 +652,10 @@
     Booth, Fredrik Lundh, Greg Ewing, Holger Krekel, Jason Diamond,
     Jim Jewett, Josiah Carlson, Ka-Ping Yee, Michael Chermside,
     Michael Hudson, Neil Schemenauer, Nick Coghlan, Paul Moore,
-    Phillip Eby, Raymond Hettinger, Samuele Pedroni, Shannon Behrens,
-    Skip Montanaro, Steven Bethard, Terry Reedy, Tim Delaney, Aahz,
-    and others.  Thanks all for the valuable contributions!
+    Phillip Eby, Raymond Hettinger, Reinhold Birkenfeld, Samuele
+    Pedroni, Shannon Behrens, Skip Montanaro, Steven Bethard, Terry
+    Reedy, Tim Delaney, Aahz, and others.  Thanks all for the valuable
+    contributions!
 
 References
 



More information about the Python-checkins mailing list