summaryrefslogtreecommitdiffstats
path: root/Doc/includes/sqlite3/parse_colnames.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/includes/sqlite3/parse_colnames.py')
-rw-r--r--Doc/includes/sqlite3/parse_colnames.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/includes/sqlite3/parse_colnames.py b/Doc/includes/sqlite3/parse_colnames.py
index 5f01dbf..fcded00 100644
--- a/Doc/includes/sqlite3/parse_colnames.py
+++ b/Doc/includes/sqlite3/parse_colnames.py
@@ -5,6 +5,4 @@ con = sqlite3.connect(":memory:", detect_types=sqlite3.PARSE_COLNAMES)
cur = con.cursor()
cur.execute('select ? as "x [timestamp]"', (datetime.datetime.now(),))
dt = cur.fetchone()[0]
-print(dt, type(dt))
-
-con.close()
+print dt, type(dt)