mirror of
https://github.com/github/codeql.git
synced 2025-12-21 11:16:30 +01:00
Python: Add p2 in QLDoc example code for synthetic **kwargs
This commit is contained in:
@@ -233,9 +233,9 @@ private predicate dictSplatParameterNodeClearStep(ParameterNode n, DictionaryEle
|
||||
* and a read step to the `p1` parameter.
|
||||
*
|
||||
* ```py
|
||||
* def foo(p1): ...
|
||||
* def foo(p1, p2): ...
|
||||
*
|
||||
* kwargs = {"p1": 42}
|
||||
* kwargs = {"p1": 42, "p2": 43}
|
||||
* foo(**kwargs)
|
||||
* ```
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user