(original) (raw)
diff -r 0a3149b30f20 Doc/library/sqlite3.rst --- a/Doc/library/sqlite3.rst Mon Aug 20 17:20:46 2012 +0200 +++ b/Doc/library/sqlite3.rst Mon Aug 20 10:55:40 2012 -0700 @@ -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