[Python-Dev] @decorators and PEP 318 (original) (raw)
Skip Montanaro skip at pobox.com
Tue Aug 3 04:01:34 CEST 2004
- Previous message: [Python-Dev] 2.4a2, and @decorators
- Next message: [Python-Dev] @decorators and PEP 318
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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?
Thx,
Skip
- Previous message: [Python-Dev] 2.4a2, and @decorators
- Next message: [Python-Dev] @decorators and PEP 318
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]