summaryrefslogtreecommitdiff
path: root/sandbox/iter.py
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/iter.py')
-rw-r--r--sandbox/iter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sandbox/iter.py b/sandbox/iter.py
index bf245ba..c8becca 100644
--- a/sandbox/iter.py
+++ b/sandbox/iter.py
@@ -6,8 +6,8 @@ curs = conn.cursor(cursor_factory=psycopg2.extras.DictCursor)
curs.execute("SELECT '2005-2-12'::date AS foo, 'boo!' as bar")
for x in curs.fetchall():
- print type(x), x[0], x[1], x['foo'], x['bar']
+ print(type(x), x[0], x[1], x['foo'], x['bar'])
curs.execute("SELECT '2005-2-12'::date AS foo, 'boo!' as bar")
for x in curs:
- print type(x), x[0], x[1], x['foo'], x['bar']
+ print(type(x), x[0], x[1], x['foo'], x['bar'])