initialized list: strange behavior
arnodel at googlemail.com
Tue Nov 25 17:03:46 CET 2008
Steve Holden <steve at holdenweb.com> writes:
> Arnaud Delobelle wrote:
>> Jason Scheirer <jason.scheirer at gmail.com> 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
More information about the Python-list