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

Predicate Flow::ConsistencyChecks::closureMustHaveBody

Import path

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