summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES3
-rw-r--r--sqlparse/sql.py8
2 files changed, 3 insertions, 8 deletions
diff --git a/CHANGES b/CHANGES
index 593e21c..c6b709f 100644
--- a/CHANGES
+++ b/CHANGES
@@ -4,6 +4,9 @@ Development Version
IMPORTANT: The supported Python versions have changed with this release.
sqlparse 0.2.x supports Python 2.7 and Python >= 3.3.
+Internal Changes
+* sql.Token.to_unicode was removed.
+
Release 0.1.18 (Oct 25, 2015)
-----------------------------
diff --git a/sqlparse/sql.py b/sqlparse/sql.py
index aaf566b..323657c 100644
--- a/sqlparse/sql.py
+++ b/sqlparse/sql.py
@@ -46,14 +46,6 @@ class Token(object):
"""Returns a unicode representation of this object."""
return self.value or ''
- def to_unicode(self):
- """Returns a unicode representation of this object.
-
- .. deprecated:: 0.1.5
- Use ``unicode(token)`` (for Python 3: ``str(token)``) instead.
- """
- return u(self)
-
def _get_repr_name(self):
return str(self.ttype).split('.')[-1]