code: def print_change(self, symbol, typ, changes=None, document=None, **kwargs):
          
          values = ", ".join("{0}={1}".format(key, val) for key, val in sorted(kwargs.items()))
          print("{0} {1}({2})".format(symbol, typ, values))
          if changes:
              for change in changes:
                  print("\n".join("\t{0}".format(line) for line in change.split('\n')))
          elif document:
              print("\n".join("\t{0}".format(line) for line in document.split('\n')))
docs: Print out a change