question: usage of __slots__

Alexander Schmolck a.schmolck at gmx.net
Mon Oct 13 16:22:39 EDT 2003


"T. Kaufmann" <merman at snafu.de> writes:

> Hi there,
> 
> Can somebody give me some good examples of the usage of __slots__?

__slots__ are a premature optimization and best avoided.

'as




More information about the Python-list mailing list