fixing map(None, [1,2,3]) ?

Neil Schemenauer nas at python.ca
Tue Mar 27 07:15:52 CEST 2001


Mike Coleman wrote:
> Shouldn't "map(None, [1,2,3])" return "[(1,), (2,), (3,)]"?
> 
> Is there any hope that this could be fixed?

Probably not.  Use zip().

  Neil




More information about the Python-list mailing list