[Python-Dev] Re: Python-Dev Digest, Vol 8, Issue 20 (original) (raw)
Scott David Daniels Scott.Daniels at Acm.Org
Wed Mar 10 12:27:09 EST 2004
- Previous message: [Python-Dev] PEP 318 - generality of list; restrictions on elements
- Next message: [Python-Dev] calculator module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Aahz <aahz at pythoncraft.com> wrote:
BTW, have we agreed on the order in which decorators will be applied? I think this depends on the position of the expression list.
def foo(a,b,c) [d,e,f]: pass
should be foo = f(e(d())) -- I read it apply d, apply e, apply f
while def foo d,e,f: pass
should be foo = d(e(f()))
The other orders seem harder to explain.
-- -Scott David Daniels Scott.Daniels at Acm.Org
- Previous message: [Python-Dev] PEP 318 - generality of list; restrictions on elements
- Next message: [Python-Dev] calculator module
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]