setting a property via self.__dict__
robin at jessikat.fsnet.co.uk
Wed Oct 30 23:31:47 CET 2002
In article <efa417af.0210301251.2b380da at posting.google.com>, Frank von
Delft <fvondelft at syrrx.com> writes
>Duncan Booth <duncan at rcp.co.uk> wrote in message news:<Xns92B75C6BDF4Eduncanrcpc
>ouk at rcp.co.uk>...
>> The property is an entry in the class's dictionary, not in the instance.
>Really I should ask: why do all the examples show it defined in the
I guess that the value may then be stored per instance, but the
infrastructure set/get methods etc are then shared for all instances.
More information about the Python-list