def _parse_leaves(self, leaves) -> List[Tuple[str, int]]:
        """Returns a list of pairs (leaf_name, distance)"""
        return [(self._leaf_name(leaf), 0) for leaf in leaves]
Returns a list of pairs (leaf_name, distance)