commit | f6bd1b0e0d290b1539e544fda0ab07564c9118a4 | [log] [tgz] |
---|---|---|
author | R David Murray <rdmurray@bitdance.com> | Mon Aug 20 14:14:18 2012 -0400 |
committer | R David Murray <rdmurray@bitdance.com> | Mon Aug 20 14:14:18 2012 -0400 |
tree | 1de57ead5f1717be70c92ca895ae4e86e4ba15cc | |
parent | 75506e8b7cc1b21fd10997e4e5d382c515558fa8 [diff] [blame] |
#15742: clarify sqlite parameter substitution example. Suggestion and patch by Mike Hoy.
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index babbfa5..950da95 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst
@@ -60,7 +60,7 @@ c.execute("select * from stocks where symbol = '%s'" % symbol) # Do this instead - t = (symbol,) + t = ('IBM',) c.execute('select * from stocks where symbol=?', t) # Larger example