Python list is not the same reference

Posted by Spì on Stack Overflow See other posts from Stack Overflow or by Spì
Published on 2010-03-16T10:49:29Z Indexed on 2010/03/16 10:56 UTC
Read the original article Hit count: 130

Filed under:

This is the code:

L=[1,2]

L is L[:]

False

Why is this False?

© Stack Overflow or respective owner

Related posts about python