def on_clear_loop_warps(sim: OTBNSim, args: List[str]) -> Optional[OTBNSim]: '''Run until ecall or error''' check_arg_count('clear_loop_warps', 0, args) sim.loop_warps = {} return None
def on_clear_loop_warps(sim: OTBNSim, args: List[str]) -> Optional[OTBNSim]: '''Run until ecall or error''' if len(args): raise ValueError( 'clear_loop_warps expects zero arguments. Got {}.'.format(args)) sim.loop_warps = {} return None