diff options
| author | Jesús Leganés Combarro "Piranna" <piranna@gmail.com> | 2012-02-03 14:32:06 +0100 |
|---|---|---|
| committer | Jesús Leganés Combarro "Piranna" <piranna@gmail.com> | 2012-02-03 14:32:06 +0100 |
| commit | eec7cd398cf404de874980518ccf46b0f7db00e8 (patch) | |
| tree | dd71e464766dfc2e52b97913f586176ed8a9636e /setup.py | |
| parent | a911e95665b303a898d6e2de44a1327c0c271c8f (diff) | |
| download | sqlparse-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-x | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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', |
