Does Python really follow its philosophy of "Readability counts"?

Paul Rubin http
Mon Jan 12 08:45:13 EST 2009


bieffe62 at 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.



More information about the Python-list mailing list