new_contents: class Parent(object):
      def implicit(self):
          print "PARENT implicit()"
  
      def override(self):
          print "PARENT override()"
  
      def altered(self):
          print "PARENT altered()"
  
  class Other(object):
      def override(self):
          print "OTHER override()"
  
      def implicit(self):
          print "OTHER implicit()"
      def altered(self):
          print "OTHER altered()"
  
  class Child(Parent):
      def __init__(self):
          self.other = Other()   
      def implicit(self):
          self.other.implicit()
  
      def override(self):
          print "CHILD override()"
  
      def altered(self):
         print "CHILD,BEFORE OTHER altered()"
         self.other.altered()
         print "CHILD,AFTER OTHER altered()"
  
  dad = Parent()
  son = Child()
  
  dad.implicit()
  son.implicit()
  
  dad.override()
  son.override()
  
  dad.altered()
  son.altered()
  
  
  print "-" * 20
  
  son = Child()
  son.implicit()
  son.override()
  son.altered()
  
subject: add ex44