Commit fea2ddc
committed
key word argument get (kwg)
a common usage -especially when overloading class- is to use `*args` array and `**kwargs` dictionary to handle method's arguments
this snippet is usefull to quickly get the argument value from the keyword arguments dictionary -kwargs- or setting a default value1 parent 5db783d commit fea2ddc
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
0 commit comments