summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
authorJosh Soref <jsoref@users.noreply.github.com>2018-05-18 09:32:23 -0400
committerAndi Albrecht <albrecht.andi@gmail.com>2018-05-18 15:32:23 +0200
commit6d664219f85eb65841183e0ef49dd5eecc42c562 (patch)
tree441284be037a6b7c8bf354c85c5775dc1b8c6d42 /sqlparse
parentc25940d394ba0ddddf0a406718394fe32efbb857 (diff)
downloadsqlparse-6d664219f85eb65841183e0ef49dd5eecc42c562.tar.gz
Correct spelling (#407)
* spelling: choice * spelling: duplicate * spelling: identifier * spelling: issue * spelling: parenthesis * spelling: split * spelling: statements
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/filters/others.py2
1 files changed, 1 insertions, 1 deletions
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, ')')):