[Tutor] Python Book Recommendations [Was:[Re: Security]]

wesley chun wescpy at gmail.com
Fri Aug 17 00:33:41 CEST 2007

> > in python, *everything* is call by reference
> 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.

that's great clarification... you are right on.  memory references (as
in C) are different from object references in Python, and yes, it's
the object references that are passed and up to the object's
mutability on whether assignment to that object is possible.


More information about the Tutor mailing list