def _change(self, changes):
        """Apply the given changes to the board.

        changes: sequence of (position, new tile) pairs or None
        """
        if changes is None:
            return
        for position, new_tile in changes:
            self._array[position] = new_tile
def _change ( self , changes ) : if changes is None : return for position , new_tile in changes : self . _array [ position ] = new_tile
Apply the given changes to the board.

        changes: sequence of (position, new tile) pairs or None