setting a property via self.__dict__
Robin Becker
robin at jessikat.fsnet.co.uk
Wed Oct 30 17:31:47 EST 2002
More information about the Python-list mailing list
Wed Oct 30 17:31:47 EST 2002
- Previous message (by thread): Find offsets and lengths from re
- Next message (by thread): setting a property via self.__dict__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 >class dictionary? I guess that the value may then be stored per instance, but the infrastructure set/get methods etc are then shared for all instances. -- Robin Becker
- Previous message (by thread): Find offsets and lengths from re
- Next message (by thread): setting a property via self.__dict__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list