Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #87505
| From | "Frank Millman" <frank@chagford.com> |
|---|---|
| Subject | Dict comprehensions - improvement to docs? |
| Date | 2015-03-16 07:25 +0200 |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.410.1426483550.21433.python-list@python.org> (permalink) |
Hi all I like dict comprehensions, but I don't use them very often, so when I do I need to look up the format. I always struggle to find the information in the Library Reference. The obvious location, Mapping Types, shows various constructors, but not the comprehension. https://docs.python.org/3/library/stdtypes.html#mapping-types-dict So I turn to Google. It shows a couple of StackOverflow questions, and then a link to the Data Structures section of the Tutorial, which explains it succinctly. https://docs.python.org/3/tutorial/datastructures.html#dictionaries I feel that the Library Reference should be updated to include dict comprehensions. Just checking here first before I raise a Documentation issue. Frank Millman
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Dict comprehensions - improvement to docs? "Frank Millman" <frank@chagford.com> - 2015-03-16 07:25 +0200
Re: Dict comprehensions - improvement to docs? Paul Rubin <no.email@nospam.invalid> - 2015-03-15 23:22 -0700
Re: Dict comprehensions - improvement to docs? "Frank Millman" <frank@chagford.com> - 2015-03-16 10:30 +0200
Re: Dict comprehensions - improvement to docs? Paul Rubin <no.email@nospam.invalid> - 2015-03-16 01:38 -0700
Re: Dict comprehensions - improvement to docs? "Frank Millman" <frank@chagford.com> - 2015-03-16 11:01 +0200
Re: Dict comprehensions - improvement to docs? Ian Kelly <ian.g.kelly@gmail.com> - 2015-03-16 09:57 -0600
Re: Dict comprehensions - improvement to docs? Paul Rubin <no.email@nospam.invalid> - 2015-03-16 15:41 -0700
Re: Dict comprehensions - improvement to docs? "Frank Millman" <frank@chagford.com> - 2015-03-17 08:44 +0200
Re: Dict comprehensions - improvement to docs? Lele Gaifax <lele@metapensiero.it> - 2015-03-17 15:06 +0100
Re: Dict comprehensions - improvement to docs? Ian Kelly <ian.g.kelly@gmail.com> - 2015-03-17 09:48 -0600
Re: Dict comprehensions - improvement to docs? "Frank Millman" <frank@chagford.com> - 2015-03-18 10:01 +0200
Re: Dict comprehensions - improvement to docs? Ian Kelly <ian.g.kelly@gmail.com> - 2015-03-18 02:39 -0600
csiph-web