summaryrefslogtreecommitdiff
path: root/sandbox/test814.py
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2017-12-03 18:47:19 -0800
committerJon Dufresne <jon.dufresne@gmail.com>2017-12-10 10:51:07 -0800
commit9de46e416e5ac1be1c5ff170d1c1ada5b8d7278f (patch)
tree62291426bc36f26ed5ac65d597ed15a5654a4e22 /sandbox/test814.py
parentef64493b8913e4069c4422ad14da6de405c445f6 (diff)
downloadpsycopg2-9de46e416e5ac1be1c5ff170d1c1ada5b8d7278f.tar.gz
Use print() function instead of print statement throughout project
Forward compatible with newer Pythons.
Diffstat (limited to 'sandbox/test814.py')
-rw-r--r--sandbox/test814.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sandbox/test814.py b/sandbox/test814.py
index 1e20ba0..0e78981 100644
--- a/sandbox/test814.py
+++ b/sandbox/test814.py
@@ -4,5 +4,5 @@ import psycopg2.extras
conn = psycopg2.connect("dbname=test")
curs = conn.cursor()
curs.execute("SELECT true AS foo WHERE 'a' in %s", (("aa", "bb"),))
-print curs.fetchall()
-print curs.query
+print(curs.fetchall())
+print(curs.query)