diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-06-19 20:27:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-19 20:27:46 (GMT) |
commit | b99f398bfb0effdf8887cf0c0cd37dc6278db73b (patch) | |
tree | a5a771068dc786e13a84e50e5f959395f62a5920 /Misc | |
parent | 05f3367b1640a84e709908980c7496a011c38894 (diff) | |
download | cpython-b99f398bfb0effdf8887cf0c0cd37dc6278db73b.zip cpython-b99f398bfb0effdf8887cf0c0cd37dc6278db73b.tar.gz cpython-b99f398bfb0effdf8887cf0c0cd37dc6278db73b.tar.bz2 |
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
(cherry picked from commit 8e0897814109765a9e463676413fff016875217b)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2022-06-16-10-10-59.gh-issue-61162.1ypkG8.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Documentation/2022-06-16-10-10-59.gh-issue-61162.1ypkG8.rst b/Misc/NEWS.d/next/Documentation/2022-06-16-10-10-59.gh-issue-61162.1ypkG8.rst new file mode 100644 index 0000000..c8b3a22 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2022-06-16-10-10-59.gh-issue-61162.1ypkG8.rst @@ -0,0 +1 @@ +Clarify :mod:`sqlite3` behavior when :ref:`sqlite3-connection-context-manager`. |