typo fixes

This commit is contained in:
George Yoshida 2006-04-21 15:22:45 +00:00
parent 6f45ffb194
commit fd5e01fbd1
3 changed files with 4 additions and 4 deletions

View File

@ -416,7 +416,7 @@ PEP 310 Reliable Acquisition/Release Pairs
with my_transaction: with my_transaction:
do_in_transaction() do_in_transaction()
# when the block terminates, the transaction is commited. # when the block terminates, the transaction is committed.
The 'synchronize' and 'asynchronize' keywords cannot serve this or The 'synchronize' and 'asynchronize' keywords cannot serve this or
any other general acquire/release pattern other than thread any other general acquire/release pattern other than thread

View File

@ -38,7 +38,7 @@ Rationale/Proposal
f = open(filename) f = open(filename)
text = f.read() text = f.read()
except IOError: except IOError:
print 'An error occured' print 'An error occurred'
finally: finally:
if f: if f:
f.close() f.close()
@ -99,7 +99,7 @@ Implementation
However, according to Guido, it should be a piece of cake to However, according to Guido, it should be a piece of cake to
implement[1] -- at least for a core hacker. implement[1] -- at least for a core hacker.
This patch was commited 17 December 2005, SVN revision 41740 [3]. This patch was committed 17 December 2005, SVN revision 41740 [3].
References References

View File

@ -572,7 +572,7 @@ Reference Implementation
PEP is available as SourceForge patch #1223381 PEP is available as SourceForge patch #1223381
(http://python.org/sf/1223381). (http://python.org/sf/1223381).
This patch was commited to CVS 01-02 August 2005. This patch was committed to CVS 01-02 August 2005.
Acknowledgements Acknowledgements