Quesion about the proper use of __slots__
Zefria
zefria at gmail.com
Mon Feb 20 16:57:29 EST 2006
I am aware of this; but with too much Java still running through my
brain I've never bothered with the idea yet because that's simply not
the way I learned and I've never had a chance to need new attributes
for singular instances.
"__slots__ is not a method, so it falls outside that purpose as stated.
" -Alex Martelli
It's listed within the special methods section of the Python Refrence,
was what I ment.
More information about the Python-list
mailing list