File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2467,10 +2467,9 @@ It is suggested to set *autocommit* to ``False``,
24672467which implies :pep: `249 `-compliant transaction control.
24682468This means:
24692469
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.
24742473 :mod: `!sqlite3 ` uses ``BEGIN DEFERRED `` statements when opening transactions.
24752474* Transactions should be committed explicitly using :meth: `!commit `.
24762475* Transactions should be rolled back explicitly using :meth: `!rollback `.
You can’t perform that action at this time.
0 commit comments