code: def summarize(self):
          '''Print a summary of the contents of this object.'''
  
          self.speak('Here is a brief summary of {}.'.format(self.nametag))
          s = '\n'+pprint.pformat(self.__dict__)
          print(s.replace('\n', '\n'+' '*(len(self._prefix)+1)) + '\n'f summarize(self):
          '''Print a summary of the contents of this object.'''
  
          self.speak('Here is a brief summary of {}.'.format(self.nametag))
          s = '\n'+pprint.pformat(self.__dict__)
          print(s.replace('\n', '\n'+' '*(len(self._prefix)+1)) + '\n')
docs: Print a summary of the contents of this object.