[Python-Dev] PEP 318: Decorators last before colon (original) (raw)
Josiah Carlson jcarlson at uci.edu
Tue Mar 30 14:34:36 EST 2004
- Previous message: [Python-Dev] PEP 318: Decorators last before colon
- Next message: [Python-Dev] PEP 318: Decorators last before colon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Another possibility that has been suggested is
[decorator] def func(arg, arg): This has some of the same readability benefits as (c).
Except that what you show is currently valid syntax. Making a currently valid syntax mean something new is, I believe, generally frowned upon.
- Josiah
- Previous message: [Python-Dev] PEP 318: Decorators last before colon
- Next message: [Python-Dev] PEP 318: Decorators last before colon
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]