Modifying Class Object

Arnaud Delobelle arnodel at googlemail.com
Mon Feb 15 16:25:23 EST 2010


John Posner <jjposner at optimum.net> writes:
[...]
>>   x = s[0]
[...]
>   assigns the name *x* to the object that *s[0]* refers to

s[0] does not refer to an object, it *is* an object (once evaluated of
course, otherwise it's just a Python expression).

-- 
Arnaud



More information about the Python-list mailing list