> > - you can use __slots__ to restrict arbirtrary creation of 
> (dynamic) 
> > instrance attributes
> 
> You can do this, but it is generally considered a misuse of 
> __slots__ and potentially problematic.
> 

I'll bite. What is the proper/intended use of __slots__? Does it have
something to do with memory?

Mike

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to