jayvdb / sre-tools

if statements can be merged PTC-W0048
Anti-pattern
Major
1 occurrence in this check
Consider merging collapsible if statements
 69            elif tok == SUBPATTERN:
 70                val = (*val[0:3], create_subpattern(_simplify_sre_list(val[3])))
 71
 72            elif tok == IN: 73                if data is True:
 74                    tok, val = ANY, None
 75