2 Aug
2014
2 Aug
'14
3:27 p.m.
Hello The array object on assignment does not create a new object instead it creates a reference to the assigned object ( As expected it should create a new object). Following code would be enough to prove it *import array* *foo = array.array("c", "hello")* bar = foo bar[0] = "\x00" print foo[0] gives "\x00" output while it should be hello -- Regards Raashid Bhat