Re:Super Simple Mocking For Python
by jacobolus on Thursday February 23, 2012 @01:53AM
(#3624071)
Yes, the most pythonic is:
Which you get by:
This can then also be called (using the built-in double-star-unpacking feature) as:
or even
Then there’s no explicit need to support multiple alternative function signatures, and in particular you don’t get people using the (quite atypical and therefore semantically ambiguous):
[ Parent
| on HN ]
There are no comments on this comment yet.