Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #87514
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'mentioned,': 0.07; '*is*': 0.09; 'feature,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:skip:c 10': 0.09; 'agree.': 0.16; 'dict': 0.16; 'exist.': 0.16; 'finney': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'language': 0.16; 'library': 0.18; 'header:User-Agent:1': 0.23; 'aspect': 0.24; 'read,': 0.26; 'header:X-Complaints-To:1': 0.27; 'wright': 0.31; 'writes:': 0.31; 'lists': 0.32; 'says': 0.33; 'but': 0.35; 'there': 0.35; 'module.': 0.36; 'subject:?': 0.36; 'should': 0.36; 'ben': 0.38; 'to:addr:python-list': 0.38; 'expect': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'tell': 0.60; 'teach': 0.65; 'contacts,': 0.84; 'received:125': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Ben Finney <ben+python@benfinney.id.au> |
| Subject | Re: Dict comprehensions - improvement to docs? |
| Date | Mon, 16 Mar 2015 17:57:02 +1100 |
| References | <me5pgk$en5$1@ger.gmane.org> <CALwzidnTUifj_L=DSH_8s+z0L44pxVvdpG1+pfz1Tzm=ECTLsw@mail.gmail.com> <me5u6p$jmr$1@ger.gmane.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | jigong.madmonks.org |
| X-Public-Key-ID | 0xAC128405 |
| X-Public-Key-Fingerprint | 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 |
| X-Public-Key-URL | http://www.benfinney.id.au/contact/bfinney-pubkey.asc |
| X-Post-From | Ben Finney <bignose+hates-spam@benfinney.id.au> |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
| Cancel-Lock | sha1:ucMn7Tby7kNEhMPINMD595gtT58= |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.19 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.416.1426489013.21433.python-list@python.org> (permalink) |
| Lines | 22 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1426489013 news.xs4all.nl 2896 [2001:888:2000:d::a6]:44558 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:87514 |
Show key headers only | View raw
"Frank Millman" <frank@chagford.com> writes: > This is what the library reference says about lists - […] > If you did not know about dict comprehensions, there is nothing to > tell you that they even exist. > > I feel that it should be mentioned. It *is* mentioned, but not in the standard library documentation. Comprehensions are a language feature, not a library module. You seem to expect that the standard library documentation should *also* teach every aspect of syntax. I don't agree. -- \ “I got contacts, but I only need them when I read, so I got | `\ flip-ups.” —Steven Wright | _o__) | Ben Finney
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Dict comprehensions - improvement to docs? Ben Finney <ben+python@benfinney.id.au> - 2015-03-16 17:57 +1100
csiph-web