fork download
  1. class A: pass
  2. class B(A):
  3. def __init__(self):
  4. super(self.__class__, self).__init__()
  5. class C(B): pass
  6.  
  7. C()
Runtime error #stdin #stdout #stderr 0.16s 24444KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 7, in <module>
  File "./prog.py", line 4, in __init__
  File "./prog.py", line 4, in __init__
  File "./prog.py", line 4, in __init__
  [Previous line repeated 995 more times]
RecursionError: maximum recursion depth exceeded while calling a Python object