File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -302,10 +302,13 @@ 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 should be serialized by the user to avoid data
308
- corruption.
305
+ If ``True `` (default), :exc: `ProgrammingError ` will be raised
306
+ if the database connection is used by a thread
307
+ other than the one that created it.
308
+ If ``False ``, the connection may be accessed in multiple threads;
309
+ write operations may need to be serialized by the user
310
+ to avoid data corruption.
311
+ See :attr: `threadsafety ` for more information.
309
312
310
313
:param Connection factory:
311
314
A custom subclass of :class: `Connection ` to create the connection with,
You can’t perform that action at this time.
0 commit comments