call-by-reference (was Re: Any other Python flaws?)
Greg Ewing
see at my.signature
Tue Jun 19 21:00:27 EDT 2001
Martijn Faassen wrote:
>
> I think the use of the word 'variable' is ambiguous. :)
In Python it's clearer to talk about "names" and "bindings"
rather than "variables" and "values".
The statement then becomes "you can't change the binding
of a name in your caller's namespace", which doesn't
leave much room for misunderstanding.
--
Greg Ewing, Computer Science Dept, University of Canterbury,
Christchurch, New Zealand
To get my email address, please visit my web page:
http://www.cosc.canterbury.ac.nz/~greg
More information about the Python-list
mailing list