Aug. 3, 2004
2:26 a.m.
Skip Montanaro wrote:
I'll be happy to update PEP 318 to conform to the pie decorator syntax. Can someone describe the application order? If I have
@ decorator1 @ decorator2 def func(...): ...
Which decorator is applied first to the function object, decorator1 or decorator2?
func = decorator1(decorator2(func)) I hope to check in a revised 318 this afternoon. Anthony