> 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.
The warning manifests from the opinion that a comprehension is more suitable. You can disable the warning or you can convert your usage to a comprehension. If you are interested, there is plenty of info floating around given the above to arm you sufficiently to make your own mind up. jlc -- https://mail.python.org/mailman/listinfo/python-list