Steve Holden <[EMAIL PROTECTED]> writes: > Arnaud Delobelle wrote: >> Jason Scheirer <[EMAIL PROTECTED]> writes: >>> Python is pass-by-reference, not pass-by-value. >> >> It's certainly not pass-by-reference, nor is it pass-by-value IMHO. >> > Since no lists are being passed as arguments in these examples it's not > pass-by-anything. Jump off that horse right now!
You're right that Python's calling semantics have nothing to do with the question asked. I just thought best not to leave the OP under any misapprehension. -- Arnaud -- http://mail.python.org/mailman/listinfo/python-list