We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36fafe2 commit 3f0d232Copy full SHA for 3f0d232
Doc/library/sqlite3.rst
@@ -165,12 +165,12 @@ Module functions and constants
165
always be true. You can check the underlying SQLite library's compile-time
166
threaded mode using the following query::
167
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()
+ import sqlite3
+ con = sqlite3.connect(":memory:")
+ con.execute("""
+ select * from pragma_compile_options
+ where compile_options like 'THREADSAFE=%%'
+ """).fetchall()
174
175
Note that the `SQLITE_THREADSAFE levels
176
<https://sqlite.org/compile.html#threadsafe>`_ do not match the DB-API 2.0
0 commit comments