Confused yet again: Very Newbie Question

Jerry Hill malaclypse2 at gmail.com
Mon Jul 7 09:54:49 EDT 2008


On Mon, Jul 7, 2008 at 7:30 AM, mcl <mcl.office at googlemail.com> wrote:
> I did not think you had to make the distinction between 'byvar' and
> 'byref' as in Basic.

Python does not use "call by value" or "call by reference" semantics.
Instead, python's model is "call by object".  See this writeup for
some details: http://effbot.org/zone/call-by-object.htm

-- 
Jerry



More information about the Python-list mailing list