From: Daniele Varrazzo Date: Tue, 16 Feb 2021 19:04:19 +0000 (+0100) Subject: Move docs example statement where it makes more sense X-Git-Tag: 3.0.dev0~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a454eb9a81ff72f8ee31ff2258c94302e25db25;p=thirdparty%2Fpsycopg.git Move docs example statement where it makes more sense --- 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.