Skip to content

Commit 1aac9ce

Browse files
Update Doc/library/sqlite3.rst
Co-authored-by: C.A.M. Gerlach <[email protected]>
1 parent 6ebe1ba commit 1aac9ce

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Doc/library/sqlite3.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,10 @@ Module functions
304304
:param bool check_same_thread:
305305
If ``True`` (default), an exception will be raised if the database connection
306306
is used by a thread other than the one that created it.
307-
This may be helpful in particular when SQLite is not in serialized mode
308-
(see :attr:`threadsafety`).
307+
If ``False``, the connection may be accessed in multiple threads;
308+
write operations may need to be serialized by the user
309+
to avoid data corruption.
310+
See :attr:`threadsafety` for more information.
309311

310312
:param Connection factory:
311313
A custom subclass of :class:`Connection` to create the connection with,

0 commit comments

Comments
 (0)