def _broadcast_maybelist_arg(states, secondary_arg, name):
if _is_list_like(secondary_arg):<EOL><INDENT>if len(secondary_arg) != len(states):<EOL><INDENT>raise ValueError('<STR_LIT>'<EOL>'<STR_LIT>'.format(name, len(states)))<EOL><DEDENT><DEDENT>else:<EOL><INDENT>secondary_arg = [secondary_arg] * len(states)<EOL><DEDENT>return secondary_arg<EOL>
Broadcast a listable secondary_arg to that of states.