summaryrefslogtreecommitdiff
path: root/sqlparse/compat.py
diff options
context:
space:
mode:
authorOleg Broytman <phd@phdru.name>2016-08-29 21:36:15 +0300
committerOleg Broytman <phd@phdru.name>2016-08-31 16:09:36 +0300
commitb05bc5ab586cb06d89c38e2eee7f77e1d3fc03c5 (patch)
tree2510e36ffc9f911032ade6de88a62bffa51d37b8 /sqlparse/compat.py
parent791a3312a247670cdeed61e52e8ca449dbb27afa (diff)
downloadsqlparse-b05bc5ab586cb06d89c38e2eee7f77e1d3fc03c5.tar.gz
Convert string literals to unicode for Py27
Working with non-ascii in Python require all-unicode approach, but str literals in Python 2.7 are bytes. The patch makes them unicode. Syntax u'' is supported in Python 2.7 and 3.3+.
Diffstat (limited to 'sqlparse/compat.py')
0 files changed, 0 insertions, 0 deletions