can list comprehensions replace map?

Andrew Dalke dalke at dalkescientific.com
Fri Jul 29 17:22:18 EDT 2005


Peter Otten wrote:
> Seems my description didn't convince you. So here's an example:

Got it.  In my test case the longest element happened to be the last
one, which is why it didn't catch the problem.

Thanks.

				Andrew
				dalke at dalkescientific.com




More information about the Python-list mailing list