summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/sqlite3.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index d5afaa1..43921c3 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -2406,9 +2406,9 @@ or if :attr:`~Connection.autocommit` is ``True``,
the context manager does nothing.
.. note::
-
The context manager neither implicitly opens a new transaction
- nor closes the connection.
+ nor closes the connection. If you need a closing context manager, consider
+ using :meth:`contextlib.closing`.
.. testcode::