]> granicus.if.org Git - python/commitdiff
Correct the description of mixed multiple inheritance: the code
authorGuido van Rossum <guido@python.org>
Thu, 15 Nov 2001 20:27:54 +0000 (20:27 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 15 Nov 2001 20:27:54 +0000 (20:27 +0000)
special-cases classic classes, it doesn't do anything about other
cases where different metaclasses are involved (except for the trivial
case where one metaclass is a subclass of the others).  Also note that
it's metaclass, not metatype.

Misc/NEWS

index b3f3f93950e30d3a826fdd437028e94042af5ce4..bd8f51a56279f5970faccfce4458dc601666aec1 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -4,13 +4,11 @@ Release date: 16-Nov-2001
 
 Type/class unification and new-style classes
 
-- Restrictions on multiple inheritance from classes with different
-  metatypes have been relaxed.  The only builtin metatypes are one for
-  classic classes a second for new-style classes, so the primary
-  visible effect is that this works now:
+- Multiple inheritance mixing new-style and classic classes in the
+  list of base classes is now allowed, so this works now:
 
       class Classic: pass
-      class Mixed(Classic, object): now
+      class Mixed(Classic, object): pass
 
   The MRO (method resolution order) for each base class is respected
   according to its kind, but the MRO for the derived class is computed