"BJörn Lindqvist" <[EMAIL PROTECTED]> wrote: > On 8/11/07, Helmut Jarausch <[EMAIL PROTECTED]> wrote: >> How can I find out the predefined decorators? > > There are two in the standard library, @classmethod for declaring > class methods and @staticmethod for declaring static methods. They are > listed at the built ins page > http://docs.python.org/dev/lib/built-in-funcs.html, unpedagogically > not separated from ordinary functions. > >
There are at least two other decorators in the standard library: functools.wraps contextlib.contextmanager -- http://mail.python.org/mailman/listinfo/python-list