Python: Add p2 in QLDoc example code for synthetic **kwargs

This commit is contained in:
Rasmus Wriedt Larsen
2023-01-20 16:40:39 +01:00
parent d9fbe58ad5
commit 41ebb4fb55

View File

@@ -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)
* ```
*