[Python-checkins] [3.10] gh-97567: Fixup cached_statements default value in sqlite3.connect docs (#97568)

erlend-aasland webhook-mailer at python.org
Tue Sep 27 03:25:19 EDT 2022


https://github.com/python/cpython/commit/6a41d11657e5a2200fbdd782e8e2f45320ab6058
commit: 6a41d11657e5a2200fbdd782e8e2f45320ab6058
branch: 3.10
author: Jia Junjie <62194633+jiajunjie at users.noreply.github.com>
committer: erlend-aasland <erlend.aasland at protonmail.com>
date: 2022-09-27T09:25:13+02:00
summary:

[3.10] gh-97567: Fixup cached_statements default value in sqlite3.connect docs (#97568)

This docs inconsistency was introduced by the 3.10 backport of gh-94629: gh-94646

files:
M Doc/library/sqlite3.rst

diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index 15a052b3d29..01e600c1c0b 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -257,7 +257,7 @@ Module functions
 
 .. function:: connect(database, timeout=5.0, detect_types=0, \
                       isolation_level="DEFERRED", check_same_thread=True, \
-                      factory=sqlite3.Connection, cached_statements=128, \
+                      factory=sqlite3.Connection, cached_statements=100, \
                       uri=False)
 
    Open a connection to an SQLite database.



More information about the Python-checkins mailing list