@imm_action('patch', '__dict__', imm_level='supreme', prep=":", obj_target_class="args")
def patch(target, verb, args, command, **_):
    try:
        split_ix = args.index(":")
        prop = args[split_ix + 1]
        new_value = find_extra(verb, split_ix + 2, command)
    except (ValueError, __HOLE__):
        return "Syntax -- 'patch [target] [:] [prop_name] [new_value]'"
    if not new_value:
        return "New value required"
    if new_value == "None":
        new_value = None
    patch_object(target, prop, new_value)
    return "Object successfully patched"
dataset/ETHPy150Open genzgd/Lampost-Mud/lampost/mud/immortal.py/patch