diff --git a/python-temel/init.example.2.py b/python-temel/init.example.2.py new file mode 100644 index 0000000..88a8442 --- /dev/null +++ b/python-temel/init.example.2.py @@ -0,0 +1,14 @@ +class A: + def __init__(self): + print('A.__init__') + +class B: + def __init__(self): + print('B.__init__') + +class C(A, B): + def __init__(self): + super(C, self).__init__() + print('C.__init__') + +c = C()