Skip to content

Commit

Permalink
Remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
dvershinin committed Jan 18, 2024
1 parent cef6f69 commit 5ab8bd7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions gixy/core/regexp.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ def extract_groups(parsed, top=True):
result.update(extract_groups(token[1][2], False))
elif token[0] == sre_parse.BRANCH:
result.update(extract_groups(token[1][1], False))
elif token[0] == sre_parse.SUBPATTERN:
result.update(extract_groups(token[1][1], False))
elif token[0] == sre_parse.IN:
result.update(extract_groups(token[1], False))
elif isinstance(token, sre_parse.SubPattern):
Expand Down

0 comments on commit 5ab8bd7

Please sign in to comment.