Lee Harr a écrit :
>>>I think the term "class decorator" is going to eventually
>>>mean something other than what you are doing here. I'd
>>>avoid the term for now.
>>>
>>>
>>>When you decorate a class method,
>>>the function you use
>>>needs to be defined before the method definition.
>>
>>FWIW, the term "class method" has a 
>>definite meaning in Python.
> 
> 
> 
> Certainly. But "class decorator" is being introduced in
> Python 3000 with PEP 3129:
> http://www.python.org/dev/peps/pep-3129/
> 

Certainly. But [1] "class methods" have been introduced in Python 2.2 !-)

[1] IIRC - please someone correct me if I'm wrong
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to