On 7/16/10 12:01 PM, Peng Yu wrote:
I then checked help('LISTLITERALS'), which gives some description that is available from the language reference. So '[' in "x=[1,2,3]" is considered as a language feature rather than a function or an operator?
Yes. It is part of the list literal syntax of the Python language. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco -- http://mail.python.org/mailman/listinfo/python-list