Mark Russell <marktrussell at btopenworld.com> writes: > On Mon, 2004-04-05 at 05:33, Guido van Rossum wrote: >> I, too, wish that there were a way to make it work with current >> expectations. The * prefix looks so arbitrary: why not /, why not @, >> etc... > > What about: > > [as classmethod] > def foo(bar, baz): > pass > > To me this is more obvious (and less like p*rl) that *[classmethod], and > it is also currently a syntax error so won't break existing code. Not bad. Also tolerable: as [classmethod] def foo(bar, baz): pass -- Dave Abrahams Boost Consulting www.boost-consulting.com
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