Python language
__slots__
A class attribute replacing the per-instance __dict__ with a fixed set of descriptors.
Why interviewers ask about it
A memory optimisation for classes instantiated in the millions. The costs: no ad-hoc attributes, and multiple inheritance with slots gets awkward.
This term is part of the free Python Full-Stack interview preparation module - browse the full glossary for every definition.