CodeQL library for Python
codeql/python-all 1.0.5-dev (changelog, source)
Search

Predicate Flow::ConsistencyChecks::closureMustHaveBody

Import path

import codeql.dataflow.VariableCapture
predicate closureMustHaveBody(ClosureExpr ce, string msg)