__slots__ and copy again: why does it work?
fortepianissimo
fortepianissimo at gmail.com
Mon Dec 26 23:33:35 EST 2005
Mystery solved - when there's only one slot I should've used __slots__
= ('i', ). Duh!
So in short, __slots__ and copy.copy() work fine in Python 2.4.2.
More information about the Python-list
mailing list