A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2015-December/142379.html below:

[Python-Dev] Python Language Reference has no mention of list comÃprehensions

[Python-Dev] Python Language Reference has no mention of list comÃprehensions [Python-Dev] Python Language Reference has no mention of list comÃprehensionsMRAB python at mrabarnett.plus.com
Thu Dec 3 11:15:30 EST 2015
On 2015-12-03 15:09, Random832 wrote:
> On 2015-12-03, Laura Creighton <lac at openend.se> wrote:
>> Who came up with the word 'display' and what does it have going for
>> it that I have missed?  Right now I think its chief virtue is that
>> it is a meaningless noun.  (But not meaningless enough, as I
>> associate displays with output, not construction).
>
> In a recent discussion it seemed like people mainly use it
> because they don't like using "literal" for things other than
> single token constants.  In most other languages' contexts the
> equivalent thing would be called a literal.
>
"Literals" also tend to be constants, or be constructed out of
constants.

A list comprehension can contain functions, etc.

>> I think that
>>
>>     6.2.4 Constructing lists, sets and dictionaries
>>
>> would be a much more useful title, and
>>
>>     6.2.4 Constructing lists, sets and dictionaries -- explicitly or through the use of comprehensions
>
> I don't like the idea of calling it "explicit construction".
> Explicit construction to me means the actual use of a call to the
> constructor function.
>

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4