On Sat, May 10, 2014 at 3:58 PM, Gregory Ewing
<greg.ew...@canterbury.ac.nz> wrote:
> Steven D'Aprano wrote:
>>
>> some_function(x, y+1)[key].attribute[num](arg)[spam or eggs] = 42
>>
>> I'm pretty sure that it isn't common to call the LHS of that assignment a
>> variable.
>
>
> A better way of putting it might be "something in the data
> model that can be assigned to".

https://en.wikipedia.org/wiki/Assignment_(computer_science)

Go ahead, start an edit war at that page over its use of "variable".
:) Right there it talks about copying values into variables. So if
Python has no variables, then either that article is inappropriate, or
Python has no assignment either.

ChrisA
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to