diff options
author | Lincoln <71312724+Lincoln-developer@users.noreply.github.com> | 2023-10-03 17:32:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 17:32:43 +0300 |
commit | 4227bfa8b273207a2b882f7d69c8ac49c3d2b57d (patch) | |
tree | b845f16fca055ecee4767075a8229c62db98bc67 /Include/internal/pycore_runtime_init.h | |
parent | 2d4865d775123e8889c7a79fc49b4bf627176c4b (diff) | |
download | cpython-4227bfa8b273207a2b882f7d69c8ac49c3d2b57d.tar.gz cpython-4227bfa8b273207a2b882f7d69c8ac49c3d2b57d.zip |
Enhanced sqlite3 connection context management documentation with contextlib.closing gh-109234 (#109322)
* Enhanced sqlite3 connection context management documentation with contextlib.closing
* 📜🤖 Added by blurb_it.
* Fixed gitignore spelling error from nitignore to gitignore
* Renamed .gitignore to .nitignore
* Added generated doctests
* Deleted sqlite3 generated files
* Removed white-space changes
* Removed News entry from the doc
* Expanded a note that context manager can be used for connection management using contextlib.closing
* Removed repeated contextlib.closing code snippet
* Expanded the note around usage of context manageer for sqlite3 connection management
* Deleted extra white-spaces
* Deleted extra white-space
* re-arranged context manager wording
* Re-arranged word layout on how to use context manager
* Fix whitespace errors
* Remove unneeded change in .gitignore
* Added suggested changes
* Added suggested change redirecting to the contextlib.closing implementation
* Added closing keyword
* Removed line 2473
---------
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend@python.org>
Diffstat (limited to 'Include/internal/pycore_runtime_init.h')
0 files changed, 0 insertions, 0 deletions