[Tutor] Python Book Recommendations [Was:[Re: Security]]
Kent Johnson
kent37 at tds.net
Thu Aug 16 21:45:30 CEST 2007
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
More information about the Tutor
mailing list