10000 Docs: improve accuracy of sqlite3 `check_same_thread` parameter by marcospgp · Pull Request #101351 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Docs: improve accuracy of sqlite3 check_same_thread parameter #101351

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 6 commits into from
Feb 1, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update Doc/library/sqlite3.rst
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
  • Loading branch information
marcospgp and erlend-aasland committed Jan 30, 2023
commit e0a32024538a53ffe594f3af2ab75430434d4cfe
5 changes: 3 additions & 2 deletions Doc/library/sqlite3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -304,8 +304,9 @@ Module functions
:param bool check_same_thread:
If ``True`` (default), only the creating thread may use the connection.
If ``False``, the connection may be shared across multiple threads;
users should check :attr:`threadsafety` before setting this value to
avoid data corruption.
if so, write operations may need to be serialized by the user,
to avoid data corruption.
Please see :attr:`threadsafety` for more information.

:param Connection factory:
A custom subclass of :class:`Connection` to create the connection with,
Expand Down
0