]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-61162: Clarify sqlite3 connection context manager docs (GH-93890)
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>
Sun, 19 Jun 2022 20:17:43 +0000 (22:17 +0200)
committerGitHub <noreply@github.com>
Sun, 19 Jun 2022 20:17:43 +0000 (13:17 -0700)
commit8e0897814109765a9e463676413fff016875217b
tree543ba00b7a6276cfb495994d6565076c89262982
parent6446592c89b0c581c00e170ae6278291e940755c
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
Doc/library/sqlite3.rst
Misc/NEWS.d/next/Documentation/2022-06-16-10-10-59.gh-issue-61162.1ypkG8.rst [new file with mode: 0644]