[Python-Dev] Python Language Reference has no mention of list comÃprehensions
MRAB
python at mrabarnett.plus.com
Thu Dec 3 11:15:30 EST 2015
More information about the Python-Dev mailing list
Thu Dec 3 11:15:30 EST 2015
- Previous message (by thread): [Python-Dev] Python Language Reference has no mention of list comÃprehensions
- Next message (by thread): [Python-Dev] Python Language Reference has no mention of list comÃprehensions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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. >
- Previous message (by thread): [Python-Dev] Python Language Reference has no mention of list comÃprehensions
- Next message (by thread): [Python-Dev] Python Language Reference has no mention of list comÃprehensions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list