Skip to content

Commit

Permalink
Update main.py
Browse files Browse the repository at this point in the history
Co-authored-by: Pavel Zwerschke <[email protected]>
  • Loading branch information
prsabahrami and pavelzw authored May 24, 2024
1 parent ed16d6d commit 52ece52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion polarify/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def ignore_case(case: ast.match_case) -> bool:
self.node = ConditionalState(
body=[
UnresolvedCase(
# tramslate_match transforms the match statement case into regular AST expressions so that the InlineTransformer can handle assignments correctly
# translate_match transforms the match statement case into regular AST expressions so that the InlineTransformer can handle assignments correctly
# Note that by the time parse_body is called this has mutated the assignments
InlineTransformer.inline_expr(
self.translate_match(stmt.subject, case.pattern, case.guard),
Expand Down

0 comments on commit 52ece52

Please sign in to comment.