old_contents: """
  Provide services for automatically extending lists.
  
  inflist provides a list subclass to allow for automagically extending lists.
  InfList represents a list that allows extending indefinitely without any fuss.
  Indexing a non-assigned thing works as expected; first, normal lookup is tried
  like normal lists. If that fails, then a default value is returned, or
  optionally an exception is raised.
  
  Currently setting a value outside the currently existing list just appends, so,
  for example,
   >>> li = InfList()
   >>> li[200] = 1
   >>> print li
   [1]
  
  is expected behaviour (for now). I can't really see a use beyond simply setting
  the next value, so this is a low priority "bug".
  
  """
  
  class InfList(list):
      """Represent an infinite list."""
  
      def __init__(self, *args, **kwds):
          """
          Initialise the list.
  
          Same constructor as stock Python list(), except with the addition of
          of the default keyword argument.
  
          The default argument sets the default value to get if an uninitialised
          value is accessed. If it is None, then IndexError is raised instead.
          It can be changed on an instance via setting of self.default.
          
          """
          try:
              self.default = kwds['default']
          except KeyError:
              self.default = 0
          super(InfList, self).__init__(self, *args, **kwds)
  
      def __getitem__(self, index):
          try:
              return super(InfList, self).__getitem__(index)
          except IndexError:
              if self.default == None:
                  raise
              return self.default
  
      def __setitem__(self, index, value):
          try:
              super(InfList, self).__setitem__(index, value)
          except IndexError:
              self.append(value)
  
new_contents: """
  Provide services for automatically extending lists.
  
  inflist provides a list subclass to allow for automagically extending lists.
  InfList represents a list that allows extending indefinitely without any fuss.
  Indexing a non-assigned thing works as expected; first, normal lookup is tried
  like normal lists. If that fails, then a default value is returned, or
  optionally an exception is raised.
  
  Currently setting a value outside the currently existing list just appends, so,
  for example,
   >>> li = InfList()
   >>> li[200] = 1
   >>> print li
   [1]
  
  is expected behaviour (for now). I can't really see a use beyond simply setting
  the next value, so this is a low priority "bug".
  
  """
  
  class InfList(list):
      """Represent an infinite list."""
  
      def __init__(self, *args, **kwds):
          """
          Initialise the list.
  
          Same constructor as stock Python list(), except with the addition of
          of the default keyword argument.
  
          The default argument sets the default value to get if an uninitialised
          value is accessed. If it is None, then IndexError is raised instead.
          It can be changed on an instance via setting of self.default.
          
          """
          try:
              self.default = kwds['default']
          except KeyError:
              self.default = 0
          super(InfList, self).__init__(*args, **kwds)
  
      def __getitem__(self, index):
          try:
              return super(InfList, self).__getitem__(index)
          except IndexError:
              if self.default == None:
                  raise
              return self.default
  
      def __setitem__(self, index, value):
          try:
              super(InfList, self).__setitem__(index, value)
          except IndexError:
              self.append(value)
  
subject: Fix call to superclass's __init__ method