def to_string(self, other_separation_char=None):
separation_char = self._separation_char<EOL>if other_separation_char is not None:<EOL><INDENT>separation_char = other_separation_char<EOL><DEDENT>return separation_char.join(self._locations_list)<EOL>
String representation of :class:`LocationDescriptor` object.

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

Returns: