[Python-Dev] Re: def fn (args) [dec,dec]: (original) (raw)
Gustavo Niemeyer niemeyer at conectiva.com
Fri Aug 6 19:11:54 CEST 2004
- Previous message: [Python-Dev] Re: def fn (args) [dec,dec]:
- Next message: [Python-Dev] Re: def fn (args) [dec,dec]:
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Could the decorator list be treated specially, like a docstring?
class C(object): def longMethodNameForEffect(longArgumentOne=None, longArgumentTwo=42): [ staticmethod, funcattrs(grammar="'@' dottedname [ '(' [arglist] ')' ]", status="experimental", author="BDFL") ] """This method blah, blah.
There are compatibility problems, since this is valid code right now (same issues which left dec-before-def as a no-no).
-- Gustavo Niemeyer http://niemeyer.net
- Previous message: [Python-Dev] Re: def fn (args) [dec,dec]:
- Next message: [Python-Dev] Re: def fn (args) [dec,dec]:
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]