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

andrew.kuchling python-checkins at python.org
Fri Sep 8 16:02:47 CEST 2006


Author: andrew.kuchling
Date: Fri Sep  8 16:02:45 2006
New Revision: 51832

Modified:
   python/trunk/Doc/whatsnew/whatsnew25.tex
Log:
Use native SQLite types

Modified: python/trunk/Doc/whatsnew/whatsnew25.tex
==============================================================================
--- python/trunk/Doc/whatsnew/whatsnew25.tex	(original)
+++ python/trunk/Doc/whatsnew/whatsnew25.tex	Fri Sep  8 16:02:45 2006
@@ -2152,8 +2152,8 @@
 
 # Create table
 c.execute('''create table stocks
-(date timestamp, trans varchar, symbol varchar,
- qty decimal, price decimal)''')
+(date text, trans text, symbol text,
+ qty real, price real)''')
 
 # Insert a row of data
 c.execute("""insert into stocks


More information about the Python-checkins mailing list