class MyType(type): pass
class SubType(MyType): pass
class MyObject(object):
__metaclass__ = MyType
print("MyType.__class__ = %s" % (MyType.__class__))
print("SubType.__class__ = %s" % (SubType.__class__))
print("MyObject.__class__ = %s" % (MyObject.__class__))
Y2xhc3MgTXlUeXBlKHR5cGUpOiBwYXNzIAoKY2xhc3MgU3ViVHlwZShNeVR5cGUpOiBwYXNzIAoKY2xhc3MgTXlPYmplY3Qob2JqZWN0KTogCiBfX21ldGFjbGFzc19fID0gTXlUeXBlIAoKcHJpbnQoIk15VHlwZS5fX2NsYXNzX18gPSAlcyIgJSAoTXlUeXBlLl9fY2xhc3NfXykpIApwcmludCgiU3ViVHlwZS5fX2NsYXNzX18gPSAlcyIgJSAoU3ViVHlwZS5fX2NsYXNzX18pKSAKcHJpbnQoIk15T2JqZWN0Ll9fY2xhc3NfXyA9ICVzIiAlIChNeU9iamVjdC5fX2NsYXNzX18pKQ==