@staticmethod
def _get_bound_repr(bound):
    """Return a string representation of a boundary slice.

        Args:
            bound: A slice object.

        Returns:
            A string representing the slice.
        """
    return '{}:{}'.format(bound.start or '', bound.stop or '')
