mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Docs: improve the accuracy of the sqlite3.connect() timeout param (#102900)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
This commit is contained in:
parent
0a60deaeaf
commit
c24f1f1e87
1 changed files with 3 additions and 3 deletions
|
|
@ -272,9 +272,9 @@ Module functions
|
||||||
|
|
||||||
:param float timeout:
|
:param float timeout:
|
||||||
How many seconds the connection should wait before raising
|
How many seconds the connection should wait before raising
|
||||||
an exception, if the database is locked by another connection.
|
an :exc:`OperationalError` when a table is locked.
|
||||||
If another connection opens a transaction to modify the database,
|
If another connection opens a transaction to modify a table,
|
||||||
it will be locked until that transaction is committed.
|
that table will be locked until the transaction is committed.
|
||||||
Default five seconds.
|
Default five seconds.
|
||||||
|
|
||||||
:param int detect_types:
|
:param int detect_types:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue