Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #87513

Re: Dict comprehensions - improvement to docs?

From Paul Rubin <no.email@nospam.invalid>
Newsgroups comp.lang.python
Subject Re: Dict comprehensions - improvement to docs?
Date 2015-03-15 23:55 -0700
Organization A noiseless patient Spider
Message-ID <878uexfn30.fsf@jester.gateway.sonic.net> (permalink)
References <me5pgk$en5$1@ger.gmane.org> <CALwzidnTUifj_L=DSH_8s+z0L44pxVvdpG1+pfz1Tzm=ECTLsw@mail.gmail.com> <mailman.415.1426488358.21433.python-list@python.org>

Show all headers | View raw


"Frank Millman" <frank@chagford.com> writes:
> 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.

Yeah, the library reference should treat list and dict comprehensions
the same way.  I would have thought neither of them belongs in the
library reference, but if listcomps are there then dictcomps should also
be there.  Probably a case of the manual not being updated when
dictcomps were added.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: Dict comprehensions - improvement to docs? "Frank Millman" <frank@chagford.com> - 2015-03-16 08:45 +0200
  Re: Dict comprehensions - improvement to docs? Paul Rubin <no.email@nospam.invalid> - 2015-03-15 23:55 -0700

csiph-web