This is similar to what the poster above has said about "pass by assignment". Python does pass the reference to the object as a value. If you change the object (for mutable types), it gets changed, if you assign to it (for immutable types) it only changes the reference in the callee.
---
Vidi, Vici, Veni.
Submitted by Poromenos on Mon, 18/06/2007 - 23:11.
This is similar to what the poster above has said about "pass by assignment". Python does pass the reference to the object as a value. If you change the object (for mutable types), it gets changed, if you assign to it (for immutable types) it only changes the reference in the callee.
Submitted by Poromenos on Mon, 18/06/2007 - 23:11.---
Vidi, Vici, Veni.