[Python-ideas] itertools has starmap but no starreduce?
anfedorov at gmail.com
Fri Feb 12 20:33:52 CET 2010
hah, I suppose I could do this with partial(apply, args=x), but that doesn't
seem like the best idea.
On Fri, Feb 12, 2010 at 2:19 PM, Oleg Broytman <phd at phd.pp.ru> wrote:
> On Fri, Feb 12, 2010 at 01:59:45PM -0500, Andrey Fedorov wrote:
> > Aside: there is no built-in for "lambda x, f: f(x)" somewhere, is there?
> apply(f, x) but why do you need it at all? Just call f(x).
> Oleg Broytman http://phd.pp.ru/ phd at phd.pp.ru
> Programmers don't die, they just GOSUB without RETURN.
> Python-ideas mailing list
> Python-ideas at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-ideas