Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0d15229

Browse filesBrowse files
authored
Apply CAM’s suggested change
1 parent d866e90 commit 0d15229
Copy full SHA for 0d15229

File tree

Expand file treeCollapse file tree

1 file changed

+3
-7
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-7
lines changed

‎Doc/library/sqlite3.rst

Copy file name to clipboardExpand all lines: Doc/library/sqlite3.rst
+3-7Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@ Module functions
292292
By default (``0``), type detection is disabled.
293293

294294
:param isolation_level:
295-
Control legacy transaction handling behaviour.
296295
See :attr:`Connection.isolation_level` and
297296
:ref:`sqlite3-transaction-control-isolation-level` for more information.
298297
Can be ``"DEFERRED"`` (default), ``"EXCLUSIVE"`` or ``"IMMEDIATE"``;
@@ -326,11 +325,8 @@ Module functions
326325
enabling various :ref:`sqlite3-uri-tricks`.
327326

328327
:param autocommit:
329-
Control :pep:`249` transaction handling behaviour.
330328
See :attr:`Connection.autocommit` and
331329
:ref:`sqlite3-transaction-control-autocommit` for more information.
332-
If ``False``, a new transaction is implicitly opened
333-
when the :class:`Connection` is created.
334330
*autocommit* currently defaults to
335331
:data:`~sqlite3.LEGACY_TRANSACTION_CONTROL`.
336332
The default will change to ``False`` in a future Python release.
@@ -2472,9 +2468,9 @@ which implies :pep:`249`-compliant transaction control.
24722468
This means:
24732469

24742470
* :mod:`!sqlite3` ensures that a transaction is always open,
2475-
so :meth:`Connection.commit` and :meth:`Connection.rollback`
2476-
will implicitly open a new transaction immediately after closing
2477-
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).
24782474
:mod:`!sqlite3` uses ``BEGIN DEFERRED`` statements when opening transactions.
24792475
* Transactions should be committed explicitly using :meth:`!commit`.
24802476
* Transactions should be rolled back explicitly using :meth:`!rollback`.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.