|
|
Now we just decorate or decorators with decorator_defaults.
|
|
()
{}
my_fun
()
{}
my_fun
|
(3, 4)
{'c': 1, 'd': 2}
my_fun
(3, 4)
{'c': 1, 'd': 2}
my_fun
|
Note that we can also supply specific arguments and defaults as well.
|
|
None 3 None 3 |
4 3 4 3 |
|
|