On Wed, Nov 25, 2015 at 2:46 AM, Antoon Pardon <antoon.par...@rece.vub.ac.be> wrote: > What is your point? I say that [] looks like a literal. Because it > sure resembles () which is a literal. > > That [] in fact isn't a literal doesn't contradict it looks like > one. > > That you can come up with more complicated list expressions that > are more easily recognizable as not being literals is beside the > point because we have generator expressions that look similar to > those list comprehensions and those generator expressions don't > contradict that () is a literal.
() is not a literal either. ChrisA -- https://mail.python.org/mailman/listinfo/python-list