File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1516,7 +1516,7 @@ searched when looking up an attribute on a class. See :ref:`python_2.3_mro` for
15161516description of how Python determines the MRO for a class.
15171517
15181518Multiple inheritance is not always allowed. Attempting to define a class with multiple
1519- inheritance will raise an error if one of the bases is invalid , if a consistent MRO
1519+ inheritance will raise an error if one of the bases does not allow subclassing , if a consistent MRO
15201520cannot be created, if no valid metaclass can be determined, or if there is an instance
15211521layout conflict. We'll discuss each of these in turn.
15221522
@@ -1555,7 +1555,7 @@ child class. It must be a metaclass that is a subclass of
15551555all other candidate metaclasses. If no such metaclass exists among the candidates,
15561556the class cannot be created, as explained in :ref: `metaclass-determination `.
15571557
1558- Finally, the memory layouts of the bases must be compatible. This means that it must be
1558+ Finally, the instance layouts of the bases must be compatible. This means that it must be
15591559possible to compute a *solid base * for the class. Exactly which classes are solid bases
15601560depends on the Python implementation.
15611561
You can’t perform that action at this time.
0 commit comments