Some problems with classes

Michele Simionato michele.simionato at
Mon Sep 1 05:12:27 CEST 2008

On Sep 1, 3:39 am, ssecorp <circularf... at> wrote:
> Traceback (most recent call last):
>   File "C:/Python25/Progs/XXXX/", line 42, in <module>
>     class ActionComedy(Movie, ActionMovie):
> TypeError: Error when calling the metaclass bases
>     Cannot create a consistent method resolution
> order (MRO) for bases Movie, ActionMovie

The MRO is explained here:

Super is explained here:

Be warned that those are not readings for a beginner, but
if you want to use multiple inheritance and super you must
be prepared ;)

More information about the Python-list mailing list