Skip to content

Commit

Permalink
improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
tserg committed Aug 3, 2023
1 parent 249d35d commit 29953dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/semantics/analysis/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ def visit_For(self, node):
if assign:
raise ImmutableViolation("Cannot modify array during iteration", assign)

# Check for state-modifying functions in `iter`
# Check for state-modifying function calls in `iter`
iter_call_nodes = node.iter.get_descendants(vy_ast.Call)
for call_node in iter_call_nodes:
call_type = get_exact_type_from_node(call_node.func)
Expand Down

0 comments on commit 29953dd

Please sign in to comment.