We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9815192 commit 544ae5eCopy full SHA for 544ae5e
python/ql/lib/semmle/python/dataflow/new/internal/DataFlowImplConsistency.qll
@@ -49,6 +49,9 @@ private module Input implements InputSig<PythonDataFlow> {
49
// In that case, there is no associated DataFlowCallable.
50
not exists(func.getDefinition())
51
)
52
+ or
53
+ // We do not have classes as `DataFlowCallable`s.
54
+ n.(CaptureNode).getSynthesizedCaptureNode().getEnclosingCallable() instanceof Class
55
}
56
57
predicate uniqueCallEnclosingCallableExclude(DataFlowCall call) {
0 commit comments