On Wed, 15 Jun 2005 13:13:49 +0200,
Riccardo Galli <[EMAIL PROTECTED]> wrote:
> I have n classes wich share the same interface. I then have a single
> class which add functionality to all the n classes, using their
> interface. The only way I see to make this single class inherith from
> the choosed nx class is this one.
> If there is a better approach, I can implement it.
class single(object):
pass
class n1(single):
pass
class n2(single):
pass
class n3(single):
pass
HTH,
Dan
--
Dan Sommers
<http://www.tombstonezero.net/dan/>
--
http://mail.python.org/mailman/listinfo/python-list