Skip to content

Commit 2051ba3

Browse files
committed
Python: hide synthesized capture nodes
1 parent f96c52e commit 2051ba3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPrivate.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,8 +1203,8 @@ predicate nodeIsHidden(Node n) {
12031203
n instanceof SynthDictSplatArgumentNode
12041204
or
12051205
n instanceof SynthDictSplatParameterNode
1206-
// or
1207-
// n instanceof CaptureNode
1206+
or
1207+
n instanceof SynthCaptureNode
12081208
}
12091209

12101210
class LambdaCallKind = Unit;

0 commit comments

Comments
 (0)