diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst index b4d58b9b689..051ac92ca7b 100644 --- a/Doc/library/sqlite3.rst +++ b/Doc/library/sqlite3.rst @@ -59,7 +59,7 @@ example:: # Never do this -- insecure! symbol = 'IBM' - c.execute("... where symbol = '%s'" % symbol) + c.execute("select * from stocks where symbol = '%s'" % symbol) # Do this instead t = (symbol,)