> > + def _makeMethod(self, constant, methodName, argc): > > + def __method(*args): > > + if len(args) != argc: > > + raise TypeError("%s() takes exactly %d arguments (%d given)" % (methodName, argc, len(args))) > Could you please split this line into two? > > Otherwise this looks good to me. Done. - Chris