I have a class called A, with two subclasses B and C. Does the following make sense? Or is there a better way to it?
class A():
...
def do_stuff(self):
self.do_this()
self.do_that()
if isInstance(self, B):
self.do_the_b_stuff()
elif isInstance(self, C):
self.do_the_c_stuff()