Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardPython__slots__ layoutSingle-choice MCQ

What does this print, and what does it reveal about how slot descriptors interact with class attributes of the same name?

class C: __slots__ = ("v",) v = 10 c = C() print(c.v)