IsString

Fredrik Lundh fredrik at pythonware.com
Tue Dec 13 17:29:23 EST 2005


Xavier Morel wrote:

> Now use a mutable type instead of an immutable int and you'll notice a
> pass-by-reference behavior.

python passes a reference to the value, not a reference to the variable.
call-by-reference usually refers to the latter.  see e.g.

    http://foldoc.org/?call-by-reference

</F>






More information about the Python-list mailing list