Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardPython__init_subclass__Single-choice MCQ

What is the type of the object stored at Base.__dict__['__init_subclass__'], and what does that imply about its receiver?

class Base: def __init_subclass__(cls, **kw): super().__init_subclass__(**kw) print(type(Base.__dict__['__init_subclass__']).__name__)