[Python-3000] What about operator.*slice? (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Sep 4 23:01:03 CEST 2007


Guido van Rossum wrote:

PS. I don't know how useful the operator module really is

I think its main use is as a source of functions for passing to map(). Unless I'm mistaken, that's still going to be faster than a listcomp when a built-in function is used, isn't it?

-- Greg



More information about the Python-3000 mailing list