shallow copy's

Rajarshi Guha rajarshi at presidency.com
Fri Jul 5 14:42:55 EDT 2002


Hi,
  I have some code:

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

Do some operations on a
Will the contents of b mirror a? Or will b remain unchanged?

TIA



More information about the Python-list mailing list