Python: Can subclasses overload inherited methods?
- by Rosarch
I'm making a shopping cart app in Google App Engine. I have many classes that derive from a base handler:
class BaseHandler(webapp.RequestHandler):
def get(self, CSIN=None):
self.body(CSIN)
Does this mean that the body() method of every descendant class needs to have the same argument? This is cumbersome. Only one descendant actually…