stacked decorators and consolidating

Gregory Ewing greg.ewing at canterbury.ac.nz
Tue Oct 29 18:46:38 EDT 2013


Tim Chase wrote:
> I'd have figured they would be associative, making the result end up
> the same either way, but apparently not.

They're not associative because function application
is not associative: f(g(x)) is not the same thing as
f(g)(x).

-- 
Greg



More information about the Python-list mailing list