class a(type): def __call__(cls,*args): print(super()) print(super().__name__) class b(metaclass=a): pass b()