From 6d664219f85eb65841183e0ef49dd5eecc42c562 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Fri, 18 May 2018 09:32:23 -0400 Subject: Correct spelling (#407) * spelling: choice * spelling: duplicate * spelling: identifier * spelling: issue * spelling: parenthesis * spelling: split * spelling: statements --- sqlparse/filters/others.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlparse') diff --git a/sqlparse/filters/others.py b/sqlparse/filters/others.py index 3f0e537..a6ba371 100644 --- a/sqlparse/filters/others.py +++ b/sqlparse/filters/others.py @@ -21,7 +21,7 @@ class StripCommentsFilter(object): pidx, prev_ = tlist.token_prev(tidx, skip_ws=False) nidx, next_ = tlist.token_next(tidx, skip_ws=False) # Replace by whitespace if prev and next exist and if they're not - # whitespaces. This doesn't apply if prev or next is a paranthesis. + # whitespaces. This doesn't apply if prev or next is a parenthesis. if (prev_ is None or next_ is None or prev_.is_whitespace or prev_.match(T.Punctuation, '(') or next_.is_whitespace or next_.match(T.Punctuation, ')')): -- cgit v1.2.1