summaryrefslogtreecommitdiffstats
path: root/Doc/includes/sqlite3/execute_1.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/includes/sqlite3/execute_1.py')
-rw-r--r--Doc/includes/sqlite3/execute_1.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/includes/sqlite3/execute_1.py b/Doc/includes/sqlite3/execute_1.py
index 3466b12..763167c 100644
--- a/Doc/includes/sqlite3/execute_1.py
+++ b/Doc/includes/sqlite3/execute_1.py
@@ -13,6 +13,4 @@ cur.execute("insert into people values (?, ?)", (who, age))
# And this is the named style:
cur.execute("select * from people where name_last=:who and age=:age", {"who": who, "age": age})
-print(cur.fetchone())
-
-con.close()
+print cur.fetchone()