code: def message(self, message, item, extra):
          
          if item is not None:
              message += ": " + ascii(item)
          if extra is not None:
              message += " (" + str(extra) + ")"
          return message
docs: Uses arguments to create the message.