summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorJesús Leganés Combarro "Piranna" <piranna@gmail.com>2012-02-03 14:32:06 +0100
committerJesús Leganés Combarro "Piranna" <piranna@gmail.com>2012-02-03 14:32:06 +0100
commiteec7cd398cf404de874980518ccf46b0f7db00e8 (patch)
treedd71e464766dfc2e52b97913f586176ed8a9636e /setup.py
parenta911e95665b303a898d6e2de44a1327c0c271c8f (diff)
downloadsqlparse-eec7cd398cf404de874980518ccf46b0f7db00e8.tar.gz
Change all internal use of to_unicode() to __unicode__() and marked former one as deprecated.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 217ca7f..0439030 100755
--- a/setup.py
+++ b/setup.py
@@ -55,7 +55,7 @@ Parsing::
>>> res
(<Statement 'select...' at 0x9ad08ec>,)
>>> stmt = res[0]
- >>> stmt.to_unicode() # converting it back to unicode
+ >>> unicode(stmt) # converting it back to unicode
u'select * from someschema.mytable where id = 1'
>>> # This is how the internal representation looks like:
>>> stmt.tokens
@@ -87,7 +87,7 @@ setup(
long_description=LONG_DESCRIPTION,
license='BSD',
url='http://python-sqlparse.googlecode.com/',
- classifiers = [
+ classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',