@classmethod
def to_path_comps(cls, *path_comps):
    """The one returned by CPath.path_comps"""
    ccomps = cls.to_cpath_ccomps(*path_comps)
    if len(ccomps) > 1 and ccomps[-1] == '':
        ccomps = ccomps[:-1]
    if len(ccomps) > 1 and ccomps[0] == '':
        ccomps = ccomps[1:]
    comps = ccomps
    return comps
