Burak Balasaygun

11%
Flag icon
For user-defined types, the __slots__ class attribute changes the storage of instance attributes from a dict to a tuple in each instance. This will be discussed in “Saving Space with the __slots__ Class Attribute” (Chapter 9).
Fluent Python: Clear, Concise, and Effective Programming
Rate this book
Clear rating