All challenges
Multiple ChoiceHard 30s

__slots__ subclasses

Choose the best answer for: __slots__ in subclasses
Options
  1. 1Subclasses with __slots__ inherit parent's __dict__
  2. 2Subclass without __slots__ gets __dict__ added
  3. 3Slots are inherited automatically
  4. 4Slots prevent all subclasses

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle