Many languages have the concept of a final class – one that cannot be inherited. Python does not have such a facility as any class can be inherited, but you can use a metaclass to make the equivalent ...
Notice that this is a call to MyMeta, which is a class even if it does inherit from type, so what happens is exactly what always happens – first __new__ is called ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results