repl.it
@notrated/

__init__(self)-4

Python 2.7

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
class Base(object):
  def __init__(self):
    print("Base.__init__")

class Derived(Base):
  def __init__(self):
    super(Derived, self).__init__()
    print("Derived.__init__")

derived = Derived()