#!/usr/local/bin/python3 class A(object): def __new__(cls): print('new') return super().__new__(cls) def __init__(self): print('init') super().__init__() class B(A): pass B()