We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4271c1 commit 2a56fb5Copy full SHA for 2a56fb5
python/ql/lib/semmle/python/ApiGraphs.qll
@@ -769,6 +769,7 @@ module API {
769
// list literals, from `x` to `[x]`
770
// TODO: once convenient, this should be done at a higher level than the AST,
771
// at least at the CFG layer, to take splitting into account.
772
+ // Also consider `SequenceNode for generality.
773
exists(PY::List list | list = pred.(DataFlow::ExprNode).getNode().getNode() |
774
rhs.(DataFlow::ExprNode).getNode().getNode() = list.getAnElt() and
775
lbl = Label::subscript()
0 commit comments