If you know you want to use A you can also explicitly refer to A in this way:
class B(A):
def f(self,num):
return 7 * A.f(self,num)
remember you have to explicitly give the self argument to the member function A.f()
If you know you want to use A you can also explicitly refer to A in this way:
class B(A):
def f(self,num):
return 7 * A.f(self,num)
remember you have to explicitly give the self argument to the member function A.f()