Skip to content

Commit 9048fc0

Browse files
committed
added an example of overriding kwargs
1 parent 2c6a19f commit 9048fc0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ To use:
1818
bar()
1919
>> the cat is a man
2020

21+
@inject(a=5)
22+
def baz(a=6):
23+
print a
24+
25+
baz()
26+
>> 5
27+
2128

2229
**Q: Why should I use this?**
2330

0 commit comments

Comments
 (0)