def _get_col_dimstr(tdim, is_string=False):
dimstr = '<STR_LIT>'<EOL>if tdim is None:<EOL><INDENT>dimstr = '<STR_LIT>'<EOL><DEDENT>else:<EOL><INDENT>if is_string:<EOL><INDENT>if len(tdim) > <NUM_LIT:1>:<EOL><INDENT>dimstr = [str(d) for d in tdim[<NUM_LIT:1>:]]<EOL><DEDENT><DEDENT>else:<EOL><INDENT>if len(tdim) > <NUM_LIT:1> or tdim[<NUM_LIT:0>] > <NUM_LIT:1>:<EOL><INDENT>dimstr = [str(d) for d in tdim]<EOL><DEDENT><DEDENT>if dimstr != '<STR_LIT>':<EOL><INDENT>dimstr = '<STR_LIT:U+002C>'.join(dimstr)<EOL>dimstr = '<STR_LIT>' % dimstr<EOL><DEDENT><DEDENT>return dimstr<EOL>
not for variable length