code: def transpose(self, trans, scale="C"):
          
          if not isinstance(trans, int):
              raise TypeError("Expected integers, not {}".format(type(trans)))
          self._root = transpose_note(self._root, trans, scale)
          if self._on:
              self._on = transpose_note(self._on, trans, scale)
          self._reconfigure_chord()
docs: Transpose the chord
  
          :param int trans: Transpose key
          :param str scale: key scale
          :return: