def _rpidl(parent, child):
    l = len(parent)
    if child[:l] != parent:
        raise x_shell((parent, child) % "Parent %s is not related to child %s")
    else:
        return child[l:]
dataset/ETHPy150Open tjguk/winsys/winsys/shell.py/_rpidl/swapped operands of `%`