why cannot assign to function call

Paul Rubin http
Sun Jan 11 09:32:31 EST 2009


Steven D'Aprano <steve at REMOVE-THIS-cybersource.com.au> writes:
> If it walks like pass-by-reference, and smells like pass-by-reference, 
> and swims like pass-by-reference, is it still your contention that it is 
> pass-by-value?

Of course the C example is pass by value.  It's just that the value
being passed is an address.



More information about the Python-list mailing list