3 ms·
I don't think you'll find one. Guido wanted to remove them [1], but people wanted them to stay for some reason. There is no difference between `map(func, value
by nomel 10y ago
I don't think you'll find one. Guido wanted to remove them [1], but people wanted them to stay for some reason.
There is no difference between `map(func, values)` and `[func(x) for x in values]`, except for character count.
[1] http://www.artima.com/weblogs/viewpost.jsp?thread=98196 http://www.artima.com/weblogs/viewpost.jsp?thread=98196