I am trying to write 2/3 compatible code with six, but I do not see how I can call it in a super()cross-compatible way. Is there an even better way, for example:
class MyClass(MyBase):
def __init__():
if six.PY3:
super().__init__()
else:
super(MyClass, self).__init__()
...
source
share