Multiple inheritance : waht does this error mean ?

Michele Simionato michele.simionato at gmail.com
Tue May 16 05:16:06 EDT 2006


jnair at ensim.com wrote:
> I am using Python 2.4.3
>
> >>>class K(object,list):
>    ...:     pass
>    ...:
> ------------------------------------------------------------
> Traceback (most recent call last):
>   File "<console>", line 1, in ?
> TypeError: Error when calling the metaclass bases
>     Cannot create a consistent method resolution
> order (MRO) for bases object, list

It is explained here:

http://www.python.org/download/releases/2.3/mro/

      Michele Simionato




More information about the Python-list mailing list