String representation of :class:`LocationDescriptor` object.

        Args:
            other_separation_char: If needed, another separator character can be used.

        Returns:

def to_string(self, other_separation_char=None):
        """
        String representation of :class:`LocationDescriptor` object.

        Args:
            other_separation_char: If needed, another separator character can be used.

        Returns:
        """
        separation_char = self._separation_char
        if other_separation_char is not None:
            separation_char = other_separation_char
        return separation_char.join(self._locations_list)