I have a class hierarchy A <-B <-C, in B, I need some processing in the constructor, so I came up with this code from this post: Understanding Python super () using __init __ () methods
However, I have a runtime error from maximum recursion exceeded
File "evenmore.py", line 12, in __init__ super(self.__class__, self).__init__(v, v2) RuntimeError: maximum recursion depth exceeded while calling a Python object
What could be wrong?
python recursion superclass hierarchy
prosseek
source share