list vs tuple

Darren New dnew at san.rr.com
Sat Mar 31 20:11:58 EST 2001


deadmeat wrote:
> Are you saying there is no difference (IN THE *RESULT*) between these?  Are
> you able to read?

a = [1, 2, 3]
b = a
b = [4, 5, 6]

a is still [1, 2, 3]. What's the problem?


-- 
Darren New / Senior MTS & Free Radical / Invisible Worlds Inc.
San Diego, CA, USA (PST).  Cryptokeys on demand.
        schedule.c:7: warning: assignment makes calendar_week 
                          from programmer_week without a cast.



More information about the Python-list mailing list