From 43478c60394e09246ee6275f89ae434e429cc5b5 Mon Sep 17 00:00:00 2001 From: Victor Uriarte Date: Wed, 29 Nov 2017 09:56:06 -0700 Subject: Fix typos --- sqlparse/engine/statement_splitter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sqlparse/engine/statement_splitter.py') diff --git a/sqlparse/engine/statement_splitter.py b/sqlparse/engine/statement_splitter.py index 6c5b599..87fe993 100644 --- a/sqlparse/engine/statement_splitter.py +++ b/sqlparse/engine/statement_splitter.py @@ -29,7 +29,7 @@ class StatementSplitter(object): # ANSI # if normal token return # wouldn't parenthesis increase/decrease a level? - # no, inside a paranthesis can't start new statement + # no, inside a parenthesis can't start new statement if ttype not in T.Keyword: return 0 @@ -56,9 +56,9 @@ class StatementSplitter(object): return 1 return 0 - # Should this respect a preceeding BEGIN? + # Should this respect a preceding BEGIN? # In CASE ... WHEN ... END this results in a split level -1. - # Would having multiple CASE WHEN END and a Assigment Operator + # Would having multiple CASE WHEN END and a Assignment Operator # cause the statement to cut off prematurely? if unified == 'END': self._begin_depth = max(0, self._begin_depth - 1) -- cgit v1.2.1