def replace_command(command, broken, matched):
 new_cmds = get_close_matches(broken, matched, cutoff=0.1)
 return [replace_argument(command.script, broken, new_cmd.strip()) for new_cmd in new_cmds]

def replace_command ( command , broken , matched ) : new_cmds = get_close_matches ( broken , matched , cutoff = 0.1 ) return [ replace_argument ( command . script , broken , new_cmd . strip ( ) ) for new_cmd in new_cmds ]
helper for *_no_command rules .