File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2468,9 +2468,9 @@ which implies :pep:`249`-compliant transaction control.
2468
2468
This means:
2469
2469
2470
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.
2471
+ so :func: ` connect `, : meth: `Connection.commit `, and :meth: `Connection.rollback `
2472
+ will implicitly open a new transaction
2473
+ (immediately after closing the pending one, for the latter two) .
2474
2474
:mod: `!sqlite3 ` uses ``BEGIN DEFERRED `` statements when opening transactions.
2475
2475
* Transactions should be committed explicitly using :meth: `!commit `.
2476
2476
* Transactions should be rolled back explicitly using :meth: `!rollback `.
You can’t perform that action at this time.
0 commit comments