Re: The � debate

Chris Angelico rosuav at gmail.com
Sat May 10 03:10:29 EDT 2014


On Sat, May 10, 2014 at 3:58 PM, Gregory Ewing
<greg.ewing at 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



More information about the Python-list mailing list