From: Andrew M. Kuchling Date: Fri, 8 Sep 2006 14:03:19 +0000 (+0000) Subject: Use native SQLite types X-Git-Tag: v2.5c2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9cd0036a2bb4de6029f584b1ffa2406809feaf8b;p=thirdparty%2FPython%2Fcpython.git Use native SQLite types --- diff --git a/Doc/lib/libsqlite3.tex b/Doc/lib/libsqlite3.tex index 7517f6b970c9..a05f5af5201c 100644 --- a/Doc/lib/libsqlite3.tex +++ b/Doc/lib/libsqlite3.tex @@ -36,8 +36,8 @@ c = conn.cursor() # 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