Skip to content

Commit 3f0d232

Browse files
author
Erlend E. Aasland
committed
More formatting fixes.
1 parent 36fafe2 commit 3f0d232

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Doc/library/sqlite3.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,12 @@ Module functions and constants
165165
always be true. You can check the underlying SQLite library's compile-time
166166
threaded mode using the following query::
167167

168-
>>> import sqlite3
169-
>>> con = sqlite3.connect(":memory:")
170-
>>> con.execute("""
171-
select * from pragma_compile_options
172-
where compile_options like 'THREADSAFE=%'
173-
""").fetchall()
168+
import sqlite3
169+
con = sqlite3.connect(":memory:")
170+
con.execute("""
171+
select * from pragma_compile_options
172+
where compile_options like 'THREADSAFE=%%'
173+
""").fetchall()
174174

175175
Note that the `SQLITE_THREADSAFE levels
176176
<https://sqlite.org/compile.html#threadsafe>`_ do not match the DB-API 2.0

0 commit comments

Comments
 (0)