On Thu, Oct 30, 2008 at 4:09 PM, spir <[EMAIL PROTECTED]> wrote: > Well, would someone clarify the point about decorators? Rather the point of > having both a built-in function (introduced in python 2.2, as I just read) > and a "decorator" (2.4) for a single use of declaring a method > not_to_be_bound_to_an_instance?
Decorators are the @ syntax, not the function. In otherwords, @classmethod def foo(): ... means, decorate the function foo using the function classmethod. More details here: http://personalpages.tds.net/~kent37/kk/00001.html Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor