> Could the decorator list be treated specially, like a docstring? > > class C(object): > > def longMethodNameForEffect(longArgumentOne=None, > longArgumentTwo=42): > [ > staticmethod, > funcattrs(grammar="'@' dotted_name [ '(' [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
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