Python: comment around dictionary comprehensions

This commit is contained in:
Rasmus Lerchedahl Petersen
2024-10-04 14:14:30 +02:00
parent 38b1eb7c71
commit 977767b0d6

View File

@@ -182,6 +182,8 @@ predicate yieldStoreStep(Node nodeFrom, Content c, Node nodeTo) {
exists(Yield yield |
nodeTo.asCfgNode() = yield.getAFlowNode() and
nodeFrom.asCfgNode() = yield.getValue().getAFlowNode() and
// TODO: Consider if this will also need to transfer dictionary content
// once dictionary comprehensions are supported.
c instanceof ListElementContent
)
}