Skip to content

Commit d45e27a

Browse files
author
Erlend E. Aasland
committed
Nitpick
1 parent 4706e17 commit d45e27a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/sqlite3/dbapi2.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ def fetch_compile_options():
4242
del fetch_compile_options
4343

4444
def _threadsafety():
45-
if "THREADSAFE=0" in _compile_options: # SQLite single-thread mode
46-
# Translates to DB-API threadsafety level 0, meaning threads may not
47-
# share the module.
45+
if "THREADSAFE=0" in _compile_options:
46+
# SQLITE_THREADSAFE=0 (single-thread mode) translates to DB-API
47+
# threadsafety level 0, meaning threads may not share the module.
4848
return 0
4949
elif "THREADSAFE=2" in _compile_options:
5050
# SQLITE_THREADSAFE=2 (multi-thread mode) translates to DB-API

0 commit comments

Comments
 (0)