Mixin classes and single/multiple inheritance

Ben Finney bignose+hates-spam at benfinney.id.au
Wed Sep 19 23:41:46 EDT 2007


Michele Simionato <michele.simionato at gmail.com> writes:

> Ben Finney wrote:
> > What do you see as an appropriate use of mixin classes, and what
> > an abuse?
> 
> An example of fine usage of mixin is Tkinter; an example of bad
> usage if Zope 2.

Which parts of those two very large code sets do I need to look at to
see the examples you have in mind? I was hoping you could demonstrate
with short code examples.

-- 
 \          "One thing vampire children have to be taught early on is, |
  `\                   don't run with a wooden stake."  -- Jack Handey |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list