Skip to content

Commit 84b594a

Browse files
Fix order of sample code!
1 parent b49b553 commit 84b594a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/api_manual/connection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,8 @@ Connection Methods
392392

393393
The following code sample demonstrates the ``tpc_commit()`` function::
394394

395-
connection.tpc_commit(xid=x, one_phase=False)
396395
x = connection.xid(format_id=1, global_transaction_id="tx1", branch_qualifier="br1")
396+
connection.tpc_commit(xid=x, one_phase=False)
397397

398398
See :ref:`tcp` for information on TPC.
399399

0 commit comments

Comments
 (0)