passing by refference

Joshua Marshall joshway_without_spam at myway.com
Tue May 13 13:13:07 EDT 2003


Mel Wilson <mwilson at the-wire.com> wrote:
> In article <mailman.1052835140.9801.python-list at python.org>,
> Daan Hoogland <hoogland at astron.nl> wrote:
>>is passing by reffence possible in python?

>    Everything in Python is passed by reference.
...

This is incorrect terminology.  Python has call-by-value semantics,
not call-by-reference (it is not possible to pass a reference to a
variable into a function).




More information about the Python-list mailing list