Kirby Urner wrote:
[ lots of fun and good stuff ]
class Function:
def __init__(self, f):
self.f = lambda x: f(x)
...
Here you missed a simplicity bet (one of my two big pet peeves):
class Function:
def __init__(self, f):
self.f = f
...
For the curious, the other peeve is:
def function(...
if expression:
return True
else:
return False
instead of:
def function(...
return expression
--Scott David Daniels
[EMAIL PROTECTED]
_______________________________________________
Edu-sig mailing list
[email protected]
http://mail.python.org/mailman/listinfo/edu-sig