Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardPythondata model dunder dispatchSingle-choice MCQ

What does `C.x` evaluate to, and what attribute-lookup rule explains it?

class Meta(type): @property def x(cls): return 'meta-property' class C(metaclass=Meta): x = 'class-attr' print(C.x)