Using map()

Steven D'Aprano steve+comp.lang.python at pearwood.info
Sun Nov 16 19:09:39 EST 2014


Pavel Volkov wrote:

> I checked my modules with pylint and saw the following warning:
> 
> W: 25,29: Used builtin function 'map' (bad-builtin)
> 
> Why is the use of map() discouraged?
> It' such a useful thing.

That's a bug in pylint. It's not a bad builtin, it is perfectly fine.

Some people don't like map. Pay no attention to them.




-- 
Steven




More information about the Python-list mailing list