Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

with statement doesn't check for dooming

  • Loading branch information...
commit 611707a959dab259d32c583c724c2a2278f24f54 1 parent 63d4c8e
Dag Odenhall dag authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 book/transactions.rst
4 book/transactions.rst
@@ -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
occurs, the transaction will be aborted at the end. Otherwise, it will be
+committed. Note that if you doom the transaction inside the context, it
+will still try to commit which will result in a DoomedTransaction
Take advantage of the notes feature
Please sign in to comment.
Something went wrong with that request. Please try again.