John Posner wrote:

     http://effbot.org/zone/call-by-object.htm
     http://en.wikipedia.org/wiki/Evaluation_strategy

[1] http://mail.python.org/pipermail/edu-sig/2008-May/008583.html

Hmm how about "call by label-value"?

That is, you change labels by assignment, but pass the value of the label to a function. Since label value is passed, original label is not changed (i.e. it's not call by reference).

However, an object referenced by label value can be changed in Python, like in classic example of list label passed to a function and then this list being modified in a function.

Regards,
mk

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to