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

Paul McNett p at ulmcnett.com
Thu Aug 28 19:40:40 EDT 2008


James Mills wrote:
> I must point out though that although they contain
> the same elements/data, they are not the same
> object/instance.

True, but the OP wanted equality:

 > I want to be
 > sure I'm generating an equivalent data structure.

Paul



More information about the Python-list mailing list