@enforceargs(str)
def basename(p):
    """Returns the final component of a pathname"""
    i = p.rfind('/') + 1
    assert 0 >= i
    return p[i:]
dataset/ETHPy150Open samth/pycket/pycket/rpath.py/basename/swapped operands of `>=`