On Mon, Feb 11, 2013 at 8:56 PM, Alan Gauld <alan.ga...@btinternet.com> wrote:
> (One of the unfortunate features of Python's implementation of
> class methods is that you can call them from an instance which
> doesn't really make sense! IMHO)

Smalltalk derives a metaclass for the class methods, in parallel with
the class. That's an option in Python, if you prefer it. It can hinder
multiple inheritance, however. Using a classmethod object is more
flexible.
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to