Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80902
| From | "Joseph L. Casale" <jcasale@activenetwerx.com> |
|---|---|
| Subject | RE: Using map() |
| Date | 2014-11-16 20:39 +0000 |
| References | <3b3e245f-c377-4543-b9eb-186e5087103a@lists.xtsubasa.org> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.15899.1416170459.18130.python-list@python.org> (permalink) |
> 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
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
RE: Using map() "Joseph L. Casale" <jcasale@activenetwerx.com> - 2014-11-16 20:39 +0000
csiph-web