Timeline for Passing more kwargs into a function than initially set
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 13, 2022 at 15:53 | history | edited | Martijn Pieters | CC BY-SA 4.0 |
added 80 characters in body
|
| Aug 24, 2012 at 9:49 | audit | Low quality answers | |||
| Aug 24, 2012 at 9:51 | |||||
| Aug 23, 2012 at 14:25 | comment | added | Martijn Pieters | @PierreGM: It's easy enough to make a copy, isn't it? I'm trying to illustrate a technique in a reasonably concise manner, not cover all eventualities here. | |
| Aug 23, 2012 at 14:22 | comment | added | Pierre GM |
The inspect method will modify your mybigdict, though, which may have some undesirable side-effects.
|
|
| Aug 23, 2012 at 14:19 | comment | added | Pierre GM |
I was considering suggesting to add some **kwargs in the definition of mydef, but I think you'll agree it's a false good idea: there's no way to ensure the order of the arguments...
|
|
| Aug 23, 2012 at 14:17 | history | answered | Martijn Pieters | CC BY-SA 3.0 |