def _read_style(style):
if isinstance(style, string_types):<EOL><INDENT>style = [style]<EOL><DEDENT>else:<EOL><INDENT>style = list(style)<EOL><DEDENT>return style<EOL>
Deal with different style format (str, list, tuple)