Feb. 7, 2014
4:09 a.m.
On 2/6/2014 8:46 PM, Chris Angelico wrote:
Technically there's no "list literal" syntax, only a convenient form for constructing a list at run-time.
There is literally no 'list literal' syntax. Number, string, and byte literals are discussed under Lexical Analysis in http://docs.python.org/3/reference/lexical_analysis.html#literals List, set, and dict displays are discussed under Expressions in http://docs.python.org/3/reference/expressions.html#displays-for-lists-sets-... and tuples in http://docs.python.org/3/reference/expressions.html#expression-lists -- Terry Jan Reedy