A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-March/043033.html below:

[Python-Dev] Re: Python-Dev Digest, Vol 8, Issue 20

[Python-Dev] Re: Python-Dev Digest, Vol 8, Issue 20Scott David Daniels Scott.Daniels at Acm.Org
Wed Mar 10 12:27:09 EST 2004
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(<function body>)))
-- I read it <make body> apply d, apply e, apply f

while
     def foo [d,e,f](a,b,c): pass

should be foo = d(e(f(<function body>)))

The other orders seem harder to explain.

-- 
-Scott David Daniels
Scott.Daniels at Acm.Org

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4