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

Predicate Flow::ConsistencyChecks::closureMustHaveBody

Import path

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