Skip to content

Commit b07316f

Browse files
yoffRasmusWL
andauthored
Update python/ql/lib/semmle/python/dataflow/new/internal/DataFlowPrivate.qll
Co-authored-by: Rasmus Wriedt Larsen <[email protected]>
1 parent a311582 commit b07316f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,8 @@ module VariableCapture {
422422
Function f;
423423

424424
CapturedVariable() {
425+
// note: captured variables originating on module scope is currently
426+
// covered by global variable handling.
425427
this.getScope() = f and
426428
this.getAnAccess().getScope() != f
427429
}

0 commit comments

Comments
 (0)