Skip to content

Commit 41ebb4f

Browse files
committed
Python: Add p2 in QLDoc example code for synthetic **kwargs
1 parent d9fbe58 commit 41ebb4f

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
@@ -233,9 +233,9 @@ private predicate dictSplatParameterNodeClearStep(ParameterNode n, DictionaryEle
233233
* and a read step to the `p1` parameter.
234234
*
235235
* ```py
236-
* def foo(p1): ...
236+
* def foo(p1, p2): ...
237237
*
238-
* kwargs = {"p1": 42}
238+
* kwargs = {"p1": 42, "p2": 43}
239239
* foo(**kwargs)
240240
* ```
241241
*

0 commit comments

Comments
 (0)