Python has a "really hidden encapsulation"?

Emile van Sebille emile at fenx.com
Sat Oct 23 22:11:30 CEST 2010


On 10/23/2010 11:51 AM Arnaud Delobelle said...
>
> Can you change the value of a.x?
>
> (Hint: my shortest solution is of the form A.*.*[*].*[*].x = 3)

A.x,a.x = a.x,3




More information about the Python-list mailing list