8000 [3.11] Docs: improve the accuracy of the sqlite3.connect() timeout param (GH-102900) by miss-islington · Pull Request #102908 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.11] Docs: improve the accuracy of the sqlite3.connect() timeout param (GH-102900) #102908

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
0