"pass by reference?"

Greg Weeks weeks at vitus.scs.agilent.com
Sun Feb 24 01:07:17 CET 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