Python3: on removing map, reduce, filter

Paul Rubin http
Sun Jan 9 10:04:46 EST 2005


Andrey Tatarinov <elephantum at dezcom.mephi.ru> writes:
> anyway list comprehensions are just syntaxic sugar for
>  >>> for var in list:
>  >>>     smth = ...
>  >>>     res.append(smth)
> 
> (is that correct?)

I would expect lc's to work more like map does.



More information about the Python-list mailing list