robertvandeneynde.be
Le mer. 10 avr. 2019 à 12:55, Krokosh Nikita <[email protected]> a écrit :
> I need smth like starstarmap('{a} / {b}/ {c}'.format, [{a:1, b:2, c:3},
> {a:4, b:5, c:6}, ...])
>
That's
def starstarmap(f, it):
return (f(**x) for x in it)
That looks like a recipe, not a basis function ^^
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/