We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d6df78 commit 208d313Copy full SHA for 208d313
python/ql/src/semmle/python/Flow.qll
@@ -880,6 +880,7 @@ private AstNode assigned_value(Expr lhs) {
880
result = values.getElt(index)
881
)
882
or
883
+ /* for lhs in seq: => `result` is the `for` node, representing the `iter(next(seq))` operation. */
884
result.(For).getTarget() = lhs
885
}
886
0 commit comments