Finding the instance reference of an object

Aaron "Castironpi" Brady castironpi at gmail.com
Fri Oct 17 18:50:36 EDT 2008


On Oct 17, 4:03 pm, Joe Strout <j... at strout.net> wrote:
> On Oct 17, 2008, at 2:36 PM, Steve Holden wrote:
snip
> And here, you're doing an assignment -- this is the only test of the  
> three that tests whether the parameter is passed by reference or by  
> value.  The result: it's by value.
>
> > So, is it call by reference or not?
>
> Not.

But it's not by value, q.e.d.
snip

> ...except, of course, that Python's syntax is cleaner...

Excepting that thou then proceedst to 3.

snip



More information about the Python-list mailing list