Skip to content

Commit 208d313

Browse files
committed
Python: Add comment.
1 parent 9d6df78 commit 208d313

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/ql/src/semmle/python/Flow.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -880,6 +880,7 @@ private AstNode assigned_value(Expr lhs) {
880880
result = values.getElt(index)
881881
)
882882
or
883+
/* for lhs in seq: => `result` is the `for` node, representing the `iter(next(seq))` operation. */
883884
result.(For).getTarget() = lhs
884885
}
885886

0 commit comments

Comments
 (0)