bieff...@gmail.com wrote: > On 12 Gen, 14:45, Paul Rubin <http://phr...@nospam.invalid> wrote: >> bieff...@gmail.com writes: >>>> class Foo (DynamicAttributes, object): pass >>> You cannot do that, but you can establish a fixed set of attributes by >>> defining the __slot__ class variable. >> That is not what __slot__ is for. > > > Really? It seems to work: > [...]
So does using a butt-plug to seal a bottle of wine, but that's still not what it's for. regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ -- http://mail.python.org/mailman/listinfo/python-list