ByLog-PyMeNever fight code: it'll always win - Dave Thomas
class fn: def __init__(gen): self.gen = gen def __call__(*args): fn.args = args return self.gen.next()f = fn(a+b+c for a,b,c in fn.args)f(2,3,4) f = lambda a,b,c: a+b+cf(2,3,4)
posted by Gheorghe @ 5:37 PM - Permalink 2 comments
View my complete profile