Christian Tismer <tismer at stackless.com> writes: > Bob Ippolito wrote: > >> That's too magical for me, and it means I have to spell out the name >> of the function (which may be quite long) twice.. which is better >> than three times, but not as good as once. > > Or even simpler, just push them as special constants on top of the def: > > class klass: > classmethod > def foo():... > > not too serious, but I hate new syntax... Chris, stop this, or I'll start to think you're some kind of insane hacker type. Oh, hang on... Cheers, mwh :-) -- 3. Syntactic sugar causes cancer of the semicolon. -- Alan Perlis, http://www.cs.yale.edu/homes/perlis-alan/quotes.html
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