Hi Scott: > Here you missed a simplicity bet (one of my two big pet peeves): > > class Function: > def __init__(self, f): > self.f = f > ... >
Yes, good one. > For the curious, the other peeve is: > > def function(... > if expression: > return True > else: > return False > > instead of: > > def function(... > return expression Also good. Thanks for sharing your peeves. If you get any more pets, please share them too. Kirby _______________________________________________ Edu-sig mailing list Edu-sig@python.org http://mail.python.org/mailman/listinfo/edu-sig