summaryrefslogtreecommitdiff
path: root/src/tests/documentation.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/documentation.py')
-rw-r--r--src/tests/documentation.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/documentation.py b/src/tests/documentation.py
index e2cf247..4fa5c9d 100644
--- a/src/tests/documentation.py
+++ b/src/tests/documentation.py
@@ -395,7 +395,7 @@ tuple and not inside the ``kwargs`` dictionary:
```python
>>> printsum(y=2, x=1)
-(1, 2) {}
+(1, 2) []
3
```
@@ -416,7 +416,7 @@ Here is how it works:
```python
>>> printsum2(y=2, x=1)
-() {'y': 2, 'x': 1}
+() [('x', 1), ('y', 2)]
3
```
@@ -428,7 +428,7 @@ positional, i.e. they belongs to the ``args`` tuple and not to ``kwargs``:
```python
>>> printsum2(1, 2)
-(1, 2) {}
+(1, 2) []
3
```
@@ -1815,7 +1815,7 @@ def operation2():
def chatty(func, *args, **kwargs):
- print(args, kwargs)
+ print(args, sorted(kwargs.items()))
return func(*args, **kwargs)