#!/usr/local/bin/python3 class B(object): def __init__(self): print('B.__init__') self._a = 0 class C(B): def __init__(self): print('C.__init__') self._a = 1 super(B, self).__init__() @property def a(self): print('C.a') return self._a print(C().a)