[Python-checkins] r45728 - python/trunk/Doc/whatsnew/whatsnew25.tex

andrew.kuchling python-checkins at python.org
Wed Apr 26 14:21:07 CEST 2006


Author: andrew.kuchling
Date: Wed Apr 26 14:21:06 2006
New Revision: 45728

Modified:
   python/trunk/Doc/whatsnew/whatsnew25.tex
Log:
[Bug #1475080] Fix example

Modified: python/trunk/Doc/whatsnew/whatsnew25.tex
==============================================================================
--- python/trunk/Doc/whatsnew/whatsnew25.tex	(original)
+++ python/trunk/Doc/whatsnew/whatsnew25.tex	Wed Apr 26 14:21:06 2006
@@ -1827,7 +1827,7 @@
 
 # Do this instead
 t = (symbol,)
-c.execute('select * from stocks where symbol=?', ('IBM',))
+c.execute('select * from stocks where symbol=?', t)
 
 # Larger example
 for t in (('2006-03-28', 'BUY', 'IBM', 1000, 45.00),
@@ -2065,6 +2065,6 @@
 The author would like to thank the following people for offering
 suggestions, corrections and assistance with various drafts of this
 article: Phillip J. Eby, Kent Johnson, Martin von~L\"owis, Gustavo
-Niemeyer, Mike Rovner, Thomas Wouters.
+Niemeyer, James Pryor, Mike Rovner, Thomas Wouters.
 
 \end{document}


More information about the Python-checkins mailing list