function arguments passed by reference
Skip Montanaro
skip at pobox.com
Wed Mar 3 15:21:22 EST 2004
Marcello> I would like to know for sure if it is possible to pass a
Marcello> value by reference to a function AND having it changed by the
Marcello> function itself
Not the way you would in C++. See:
http://cgi.cse.unsw.edu.au/~cs3141/index.php?module=xarbb&func=viewtopic&tid=17
for a recent discussion on mutable and immutable objects in Python.
Skip
More information about the Python-list
mailing list