On 2015-12-03 15:09, Random832 wrote:
On 2015-12-03, Laura Creighton <l...@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.
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe:
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com