Fix bug in example 5 found by Reinhold Birkenfeld.
This commit is contained in:
parent
82b1510121
commit
fa5f960327
|
@ -568,7 +568,7 @@ Examples
|
|||
|
||||
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 @@ Acknowledgements
|
|||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue