File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -2467,10 +2467,9 @@ It is suggested to set *autocommit* to ``False``,
2467
2467
which implies :pep: `249 `-compliant transaction control.
2468
2468
This means:
2469
2469
2470
- * :mod: `!sqlite3 ` ensures that a transaction is always open,
2471
- so :meth: `Connection.commit ` and :meth: `Connection.rollback `
2472
- will implicitly open a new transaction immediately after closing
2473
- the pending one.
2470
+ * :func: `connect `, :meth: `Connection.commit `, and :meth: `Connection.rollback `
2471
+ implicitly open a new transaction to ensure that a transaction is always
2472
+ open.
2474
2473
:mod: `!sqlite3 ` uses ``BEGIN DEFERRED `` statements when opening transactions.
2475
2474
* Transactions should be committed explicitly using :meth: `!commit `.
2476
2475
* Transactions should be rolled back explicitly using :meth: `!rollback `.
You can’t perform that action at this time.
0 commit comments