Steven D'Aprano added the comment:
I think you have misunderstood where and when default arguments are assigned.
When you call func() with no arguments, kwargs is empty, and it is correct that
the output will be
-> Decorator:
In the following line, you call the original function, f(), agai
New submission from Salomon :
I am seeing an issue when attempting to use default kwargs in decorated
functions.
I would post reproduction steps, but instead I have written a snippet which
should showcase the issue.
Snippet:
```python
def decorator():
def inner(f):
def wrapper(*a