Skip to content

Commit 35b0b6b

Browse files
yoffRasmusWL
andauthored
Update python/ql/src/experimental/dataflow/internal/DataFlowPrivate.qll
Co-authored-by: Rasmus Wriedt Larsen <rasmuswriedtlarsen@gmail.com>
1 parent 27a75c0 commit 35b0b6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/ql/src/experimental/dataflow/internal/DataFlowPrivate.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,8 @@ private Node update(Node node) {
270270
* that represents the dictionary of extra keyword arguments. There is a store step from each
271271
* extra keyword argument to this node.
272272
*
273-
* When a call contains a dictionary argument with entries corresponding to a keyword parameter,
274-
* the value at such a key is unpacked and passed to the positional parameter. This is achieved
273+
* When a call contains a dictionary unpacking argument, such as `func(**kwargs)`, with entries corresponding to a keyword parameter,
274+
* the value at such a key is unpacked and passed to the parameter. This is achieved
275275
* by synthesising an argument node `TKwUnpacked(call, callable, name)` representing the unpacked
276276
* value. This is used as the argument passed to the matching keyword parameter. There is a read
277277
* step from the dictionary argument to the synthesized argument node.

0 commit comments

Comments
 (0)