summaryrefslogtreecommitdiff
path: root/sqlparse/tokens.py
diff options
context:
space:
mode:
authorVictor Uriarte <victor.m.uriarte@intel.com>2016-06-02 12:29:38 -0700
committerVictor Uriarte <victor.m.uriarte@intel.com>2016-06-02 12:29:38 -0700
commit453764938f2db40593feb9ce2a85e5a2147909af (patch)
treeb290ab59b13ea7e5efed7ad39329fc94241fac0b /sqlparse/tokens.py
parent6426578c0f63a022daee0210628cf45898b93085 (diff)
downloadsqlparse-453764938f2db40593feb9ce2a85e5a2147909af.tar.gz
Remove unused code from tokens.py
Diffstat (limited to 'sqlparse/tokens.py')
-rw-r--r--sqlparse/tokens.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/sqlparse/tokens.py b/sqlparse/tokens.py
index aa0b335..4d5f30e 100644
--- a/sqlparse/tokens.py
+++ b/sqlparse/tokens.py
@@ -13,15 +13,6 @@
class _TokenType(tuple):
parent = None
- def split(self):
- buf = []
- node = self
- while node is not None:
- buf.append(node)
- node = node.parent
- buf.reverse()
- return buf
-
def __contains__(self, val):
return val is not None and (self is val or val[:len(self)] == self)
@@ -74,8 +65,3 @@ DML = Keyword.DML
DDL = Keyword.DDL
CTE = Keyword.CTE
Command = Keyword.Command
-
-Group = Token.Group
-Group.Parenthesis = Token.Group.Parenthesis
-Group.Comment = Token.Group.Comment
-Group.Where = Token.Group.Where