summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
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, ')')):