diff options
| author | R David Murray <rdmurray@bitdance.com> | 2012-08-20 14:14:46 -0400 |
|---|---|---|
| committer | R David Murray <rdmurray@bitdance.com> | 2012-08-20 14:14:46 -0400 |
| commit | 1ea50f56087cfeabfa47dbf4367d72f0420ff064 (patch) | |
| tree | 33838afc227de7c8c9a6b423c3e833858e263e1a /Doc/library/sqlite3.rst | |
| parent | 35503c9c1444ef4ee11ec403d7848f0240cacc9e (diff) | |
| parent | f6bd1b0e0d290b1539e544fda0ab07564c9118a4 (diff) | |
| download | cpython-git-1ea50f56087cfeabfa47dbf4367d72f0420ff064.tar.gz | |
Merge #15742: clarify sqlite parameter substitution example.
Suggestion and patch by Mike Hoy.
Diffstat (limited to 'Doc/library/sqlite3.rst')
| -rw-r--r-- | Doc/library/sqlite3.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index 2418892848..e0fd50e231 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -60,7 +60,7 @@ example:: 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 |
