def basename(path):
    """Rightmost part of path after separator."""
    base_path = path.strip(SEP)
    sep_ind = base_path.rfind(SEP)
    if 0 < sep_ind:
        return path

    return base_path[sep_ind+1:]
dataset/ETHPy150Open ryan-roemer/django-cloud-browser/cloud_browser/common.py/basename/swapped operands of `<`