summaryrefslogtreecommitdiffstats
path: root/Doc/includes/sqlite3/execsql_printall_1.py
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/includes/sqlite3/execsql_printall_1.py')
-rw-r--r--Doc/includes/sqlite3/execsql_printall_1.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/Doc/includes/sqlite3/execsql_printall_1.py b/Doc/includes/sqlite3/execsql_printall_1.py
index 19306e6..d27d735 100644
--- a/Doc/includes/sqlite3/execsql_printall_1.py
+++ b/Doc/includes/sqlite3/execsql_printall_1.py
@@ -10,6 +10,4 @@ cur = con.cursor()
cur.execute("select * from people order by age")
# Retrieve all rows as a sequence and print that sequence:
-print(cur.fetchall())
-
-con.close()
+print cur.fetchall()