def _varargs_labels_as_list(label_list):
if len(label_list) == <NUM_LIT:0>:<EOL><INDENT>return []<EOL><DEDENT>elif not _is_non_string_iterable(label_list[<NUM_LIT:0>]):<EOL><INDENT>return label_list<EOL><DEDENT>elif len(label_list) == <NUM_LIT:1>:<EOL><INDENT>return label_list[<NUM_LIT:0>]<EOL><DEDENT>else:<EOL><INDENT>raise ValueError("<STR_LIT>".format(label_list),<EOL>"<STR_LIT>")<EOL><DEDENT>
Return a list of labels for a list of labels or singleton list of list
    of labels.