[1,2,3] exactly same as [1,2,3,] ?

mh at pixar.com mh at pixar.com
Fri Aug 29 01:19:50 CEST 2008


x=[1,2,3]
and
x=[1,2,3,]

are exactly the same, right?

I'm generating some python data, and it's less error prone
to not treat the last element specially, but I want to be
sure I'm generating an equivalent data structure.

Many TIA!
Mark

-- 
Mark Harrison
Pixar Animation Studios



More information about the Python-list mailing list