]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.10] gh-97567: Fixup cached_statements default value in sqlite3.connect docs (...
authorJia Junjie <62194633+jiajunjie@users.noreply.github.com>
Tue, 27 Sep 2022 07:25:13 +0000 (15:25 +0800)
committerGitHub <noreply@github.com>
Tue, 27 Sep 2022 07:25:13 +0000 (09:25 +0200)
This docs inconsistency was introduced by the 3.10 backport of gh-94629: gh-94646

Doc/library/sqlite3.rst

index 15a052b3d29ecf742230c0485a05d8b5fbf05700..01e600c1c0ba9b88ee5642b52a527f69f827992c 100644 (file)
@@ -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.