mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
gh-61162: Clarify sqlite3 connection context manager docs (GH-93890)
Explicitly note that transactions are only closed if there is an open transation at `__exit__`, and that transactions are not implicitly opened during `__enter__`. Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> Automerge-Triggered-By: GH:erlend-aasland
This commit is contained in:
parent
6446592c89
commit
8e08978141
2 changed files with 19 additions and 4 deletions
|
|
@ -0,0 +1 @@
|
|||
Clarify :mod:`sqlite3` behavior when :ref:`sqlite3-connection-context-manager`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue