Docs: improve the accuracy of the sqlite3.connect() timeout param (GH-102900)

(cherry picked from commit c24f1f1e87)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
This commit is contained in:
Miss Islington (bot) 2023-03-22 04:49:46 -07:00 committed by GitHub
parent 44782d3d34
commit 9a1453b651
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -271,9 +271,9 @@ Module functions
:param float timeout:
How many seconds the connection should wait before raising
an exception, if the database is locked by another connection.
If another connection opens a transaction to modify the database,
it will be locked until that transaction is committed.
an :exc:`OperationalError` when a table is locked.
If another connection opens a transaction to modify a table,
that table will be locked until the transaction is committed.
Default five seconds.
:param int detect_types: