wesley chun wrote:
> in python, *everything* is call by reference

Not sure I really want to get into this, but here goes...

Python passes object references by value. This is not the same as call 
by reference. With call by reference, *assignment* to a function 
parameter changes the value seen by the caller. This is not possible in 
Python.

Lots of analysis here:
http://effbot.org/zone/call-by-object.htm

Kent
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to