Skip to content

Commit

Permalink
Code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
andialbrecht committed Sep 19, 2023
1 parent 5c94352 commit 3696d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlparse/engine/grouping.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def match(token):
return token.match(T.Assignment, ':=')

def valid(token):
return token is not None and token.ttype not in (T.Keyword)
return token is not None and token.ttype not in (T.Keyword,)

def post(tlist, pidx, tidx, nidx):
m_semicolon = T.Punctuation, ';'
Expand Down

0 comments on commit 3696d53

Please sign in to comment.