diff --git a/python-temel/a.init.py b/python-temel/a.init.py new file mode 100644 index 0000000..9092b9c --- /dev/null +++ b/python-temel/a.init.py @@ -0,0 +1,9 @@ +class A: + def __init__(self): + print('A.__init__') + +class B(A): + pass + +print(B.__mro__) # (, , ) +b = B() # A.__init__ çağrılır