mirror of
https://github.com/python/cpython.git
synced 2025-10-02 13:22:19 +00:00
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:
parent
44782d3d34
commit
9a1453b651
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue