diff options
author | Jon Dufresne <jon.dufresne@gmail.com> | 2017-12-03 18:47:19 -0800 |
---|---|---|
committer | Jon Dufresne <jon.dufresne@gmail.com> | 2017-12-10 10:51:07 -0800 |
commit | 9de46e416e5ac1be1c5ff170d1c1ada5b8d7278f (patch) | |
tree | 62291426bc36f26ed5ac65d597ed15a5654a4e22 /sandbox/textfloat.py | |
parent | ef64493b8913e4069c4422ad14da6de405c445f6 (diff) | |
download | psycopg2-9de46e416e5ac1be1c5ff170d1c1ada5b8d7278f.tar.gz |
Use print() function instead of print statement throughout project
Forward compatible with newer Pythons.
Diffstat (limited to 'sandbox/textfloat.py')
-rw-r--r-- | sandbox/textfloat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/textfloat.py b/sandbox/textfloat.py index 5383bb3..2bc528d 100644 --- a/sandbox/textfloat.py +++ b/sandbox/textfloat.py @@ -5,4 +5,4 @@ o = psycopg2.connect("dbname=test") c = o.cursor() c.execute("SELECT 1.23::float AS foo") x = c.fetchone()[0] -print x, type(x) +print(x, type(x)) |