diff options
| author | Michele Simionato <michele.simionato@gmail.com> | 2021-04-14 06:11:11 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-14 06:11:11 +0200 |
| commit | e3c07ea54b6ea08765f01f72042debc66159d0a3 (patch) | |
| tree | de4e57028e65df439c7a69d5893b710a2e949a05 /docs | |
| parent | d1b9cc4dfbb6425f1eef2cec3222027a718b9309 (diff) | |
| parent | 187ef55dda5904505b669361e4f86f4f8b74b9e3 (diff) | |
| download | python-decorator-git-e3c07ea54b6ea08765f01f72042debc66159d0a3.tar.gz | |
Merge pull request #121 from micheles/apply_defaults
Restored apply_defaults
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/documentation.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/documentation.md b/docs/documentation.md index bc73dbe..7d8fede 100644 --- a/docs/documentation.md +++ b/docs/documentation.md @@ -4,9 +4,9 @@ Decorators for Humans |Author | Michele Simionato| |---|---| |E-mail | michele.simionato@gmail.com| -|Version| 5.0.6 (2021-04-10)| +|Version| 5.0.7 (2021-04-14)| |Supports| Python 3.5, 3.6, 3.7, 3.8, 3.9| -|Download page| http://pypi.python.org/pypi/decorator/5.0.6| +|Download page| http://pypi.python.org/pypi/decorator/5.0.7| |Installation| ``pip install decorator``| |License | BSD license| @@ -480,7 +480,7 @@ An example will make the issue clear. Here is a simple caller ```python def chatty(func, *args, **kwargs): - print(args, kwargs) + print(args, sorted(kwargs.items())) return func(*args, **kwargs) ``` @@ -500,7 +500,7 @@ tuple and not inside the ``kwargs`` dictionary: ```python >>> printsum(y=2, x=1) -(1, 2) {} +(1, 2) [] 3 ``` @@ -534,7 +534,7 @@ Here is how it works: ```python >>> printsum2(y=2, x=1) -() {'y': 2, 'x': 1} +() [('x', 1), ('y', 2)] 3 ``` @@ -546,7 +546,7 @@ positional, i.e. they belongs to the ``args`` tuple and not to ``kwargs``: ```python >>> printsum2(1, 2) -(1, 2) {} +(1, 2) [] 3 ``` |
