Skip to content

Commit 4b89a41

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1523,8 +1523,8 @@ abstract class ParameterNodeImpl extends Node {
15231523
* The value of a closure itself at function entry, viewed as a node in a data
15241524
* flow graph.
15251525
*
1526-
* This is used for tracking flow through captured variables, and we use a
1527-
* separate node and parameter/argument positions in order to distinguish
1526+
* This is used for tracking flow through captured variables, and we use
1527+
* separate argument/parameter nodes at their own parameter/argument positions in order to distinguish
15281528
* "lambda self" from "normal self", as lambdas may also access outer `self`
15291529
* variables (through variable capture).
15301530
*/

0 commit comments

Comments
 (0)