Skip to content

Commit

Permalink
with statement doesn't check for dooming
Browse files Browse the repository at this point in the history
  • Loading branch information
dag committed Jun 8, 2011
1 parent 63d4c8e commit 611707a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion book/transactions.rst
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -775,7 +775,9 @@ have used this code after setting up our session:
We can have as many statements as we like inside the with block. If an exception We can have as many statements as we like inside the with block. If an exception
occurs, the transaction will be aborted at the end. Otherwise, it will be occurs, the transaction will be aborted at the end. Otherwise, it will be
committed. committed. Note that if you doom the transaction inside the context, it
will still try to commit which will result in a DoomedTransaction
exception.




Take advantage of the notes feature Take advantage of the notes feature
Expand Down

0 comments on commit 611707a

Please sign in to comment.