why not extending the syntax for classes, too ?
Erik Max Francis
max at alcyone.com
Sun Feb 9 16:53:25 EST 2003
Bengt Richter wrote:
> Or we could use a suffix:
>
> def double(x) staticmethod'ly:
> return 2*x
>
> class C(B) Traced'ly:
> #This is much more readable
Yeah, syntax highlighers would just _love_ that :-).
--
Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
__ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/ \ Life is an effort that deserves a better cause.
\__/ Karl Kraus
Alcyone Systems / http://www.alcyone.com/
Alcyone Systems, San Jose, California.
More information about the Python-list
mailing list