On Wed, 17 Mar 2010 15:57:17 +1100, Lie Ryan wrote:

> Most people probably would never need to use
> descriptor protocol directly, since the immediate benefit of descriptor
> protocol are property(), classmethod(), and instancemethod() decorators
> which, without descriptor protocol, would never become a possibility.


There's an instancemethod decorator? Where?

Are you thinking of staticmethod? "instancemethod", if you mean what I 
think you mean, doesn't need a decorator because it is the default 
behaviour for new-style classes.


-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to