passing by refference
Doug Quale
quale1 at charter.net
Thu May 15 15:19:31 EDT 2003
aahz at pythoncraft.com (Aahz) writes:
> In article <87of2671rm.fsf at charter.net>,
> Doug Quale <quale1 at charter.net> wrote:
> >
> >Python is call-by-value. The values are objects, but the argument
> >passing mechanism doesn't say anything about what values are in the
> >language.
>
> No, the values are not objects. To the extent that it's call-by-value,
> the values are references. That's why so many of us object to using the
> phrase call-by-value, because people keep getting the process wrong.
> --
> Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
You're right -- I slipped. I should have said the values are
references to objects.
More information about the Python-list
mailing list