[Python-Dev] Python Language Reference has no mention of list comprehensions
M.-A. Lemburg
mal at egenix.com
Thu Dec 3 09:04:09 EST 2015
On 03.12.2015 14:37, Paul Moore wrote:
> On 3 December 2015 at 12:51, Laura Creighton <lac at openend.se> wrote:
>> Intentional or Oversight?
>
> Hard to find :-)
>
> https://docs.python.org/3/reference/expressions.html#displays-for-lists-sets-and-dictionaries
>
> I went via "Atoms" in the expression section, then followed the links
> in the actual grammar spec.
Strange that the doc search facility doesn't find this:
https://docs.python.org/3/search.html?q=comprehension
The human readable documentation is in the tutorial:
https://docs.python.org/3/tutorial/datastructures.html#list-comprehensions
(this is found by the doc search)
--
Marc-Andre Lemburg
eGenix.com
Professional Python Services directly from the Experts (#1, Dec 03 2015)
>>> Python Projects, Coaching and Consulting ... http://www.egenix.com/
>>> Python Database Interfaces ... http://products.egenix.com/
>>> Plone/Zope Database Interfaces ... http://zope.egenix.com/
________________________________________________________________________
::: We implement business ideas - efficiently in both time and costs :::
eGenix.com Software, Skills and Services GmbH Pastor-Loeh-Str.48
D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
Registered at Amtsgericht Duesseldorf: HRB 46611
http://www.egenix.com/company/contact/
http://www.malemburg.com/
More information about the Python-Dev
mailing list