"pass by reference?"

Greg Weeks weeks at vitus.scs.agilent.com
Sat Feb 23 19:07:17 EST 2002


Tripp Scott (tripps81 at yahoo.com) wrote:
:   a = -1
:   make_abs(a)
:   print a # = 1

It is good to see that I'm not the only person who still uses "pass by
reference" to mean that a function can rebind its argument variable.


Greg



More information about the Python-list mailing list