Skip to content

Commit 2a56fb5

Browse files
committed
python: expand TODO
1 parent c4271c1 commit 2a56fb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

python/ql/lib/semmle/python/ApiGraphs.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -769,6 +769,7 @@ module API {
769769
// list literals, from `x` to `[x]`
770770
// TODO: once convenient, this should be done at a higher level than the AST,
771771
// at least at the CFG layer, to take splitting into account.
772+
// Also consider `SequenceNode for generality.
772773
exists(PY::List list | list = pred.(DataFlow::ExprNode).getNode().getNode() |
773774
rhs.(DataFlow::ExprNode).getNode().getNode() = list.getAnElt() and
774775
lbl = Label::subscript()

0 commit comments

Comments
 (0)