diff options
author | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-06-13 21:50:17 -0700 |
---|---|---|
committer | Victor Uriarte <victor.m.uriarte@intel.com> | 2016-06-15 13:29:11 -0700 |
commit | 711744d1664f8244d8ab0b090cbf12e923101cce (patch) | |
tree | b7931f1f9445ee27b619164c5f26e9c32bf5470b /sqlparse/utils.py | |
parent | a795be1a70a241e177227b742269fb2df88af962 (diff) | |
download | sqlparse-711744d1664f8244d8ab0b090cbf12e923101cce.tar.gz |
Remove functions no-longer used
Diffstat (limited to 'sqlparse/utils.py')
-rw-r--r-- | sqlparse/utils.py | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/sqlparse/utils.py b/sqlparse/utils.py index 59301ff..c3542b8 100644 --- a/sqlparse/utils.py +++ b/sqlparse/utils.py @@ -103,18 +103,6 @@ def imt(token, i=None, m=None, t=None): return False -def find_matching(tlist, token, open_pattern, close_pattern): - idx = tlist.token_index(token) if not isinstance(token, int) else token - depth = 0 - for token in tlist.tokens[idx:]: - if token.match(*open_pattern): - depth += 1 - elif token.match(*close_pattern): - depth -= 1 - if depth == 0: - return token - - def consume(iterator, n): """Advance the iterator n-steps ahead. If n is none, consume entirely.""" deque(itertools.islice(iterator, n), maxlen=0) |