From 8a454eb9a81ff72f8ee31ff2258c94302e25db25 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Tue, 16 Feb 2021 20:04:19 +0100 Subject: [PATCH] Move docs example statement where it makes more sense --- docs/transactions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/transactions.rst b/docs/transactions.rst index ae7a0769a..e4205aac7 100644 --- a/docs/transactions.rst +++ b/docs/transactions.rst @@ -137,7 +137,7 @@ but not entirely committed yet. with conn.transaction() as inner_tx: if isinstance(command, CancelCommand): raise Rollback(outer_tx) - process_command(command) + process_command(command) # If `Rollback` is raised, it would propagate only up to this block, # and the program would continue from here with no exception. -- 2.47.3