File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -302,11 +302,10 @@ Module functions
302
302
:type isolation_level: str | None
303
303
304
304
:param bool check_same_thread:
305
- If ``True `` (default), only the creating thread may use the connection.
306
- If ``False ``, the connection may be shared across multiple threads;
307
- if so, write operations may need to be serialized by the user,
308
- to avoid data corruption.
309
- Please see :attr: `threadsafety ` for more information.
305
+ If ``True `` (default), an exception will be raised if the database connection
306
+ 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 `).
310
309
311
310
:param Connection factory:
312
311
A custom subclass of :class: `Connection ` to create the connection with,
You can’t perform that action at this time.
0 commit comments