A Admin • 833K Points Coach Q. What is the purpose of __slots__ in Python classes? (A) To increase object size (B) To limit attributes for memory optimization (C) To speed up inheritance (D) To declare private members Correct Answer - Option(B) Views: 27 Filed under category Python Hashtags: Share Manage Tags
Discusssion
Login to discuss.