Python: address QL alerts

This commit is contained in:
Rasmus Lerchedahl Petersen
2023-12-18 22:20:28 +01:00
parent 25c83dc70d
commit 7324177786

View File

@@ -145,7 +145,7 @@ predicate valueStep(Node nodeFrom, Node nodeTo) {
}
/**
* Provides predicates to understand the behaviour of the variable capture
* Provides predicates to understand the behavior of the variable capture
* library instantiation on Python code bases.
*
* The predicates in here are meant to be run by quick-eval on databases of
@@ -198,6 +198,6 @@ private module Debug {
}
predicate unmappedFlowClosureNode(Flow::ClosureNode closureNode) {
not exists(Node node | closureNode = asClosureNode(node))
not closureNode = asClosureNode(_)
}
}