RELEASED Python 2.4, alpha 2
ivoras at __geri.cc.fer.hr
Thu Aug 5 23:18:54 CEST 2004
Heiko Wundram wrote:
> class someobject(object):
> def x(cls):
> If I were to translate this to english, I could read it as follows (note the
> Define a _class someobject_ which has a _synchronized_ _classmethod_ x.
FWIW, I, for example, don't have a problem with the notion of
decorators, but I think the above syntax is just plain ugly. Why not use:
def @synchronized @classmethod x(self):
Granted that the keywords are long-ish, but I stongly feel it's still
less ugly than the topmost version.
What part of "Ph'nglui mglw'nath Cthulhu R'lyeh wgah'nagl fhtagn" don't
More information about the Python-list