From e6a51a0bc3f87e284de74cec838d3ee98c2f9cf5 Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Mon, 26 Oct 2015 19:40:29 +0100 Subject: Use compat module for single Python 2/3 code base. This change includes minor fixes and code cleanup too. --- setup.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'setup.py') diff --git a/setup.py b/setup.py index 806ddd1..83e3b8c 100644 --- a/setup.py +++ b/setup.py @@ -67,8 +67,8 @@ Parsing:: >>> res (,) >>> stmt = res[0] - >>> unicode(stmt) # converting it back to unicode - u'select * from someschema.mytable where id = 1' + >>> str(stmt) # converting it back to unicode + 'select * from someschema.mytable where id = 1' >>> # This is how the internal representation looks like: >>> stmt.tokens (, @@ -110,7 +110,6 @@ setup( 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', -- cgit v1.2.1