def __init__(self, mode):
__mode = <NUM_LIT:0><EOL>for nummod in mode.split("<STR_LIT:+>"):<EOL><INDENT>try:<EOL><INDENT>__mode += MODES[nummod]<EOL><DEDENT>except KeyError as ex:<EOL><INDENT>print("<STR_LIT>" % ex, file=sys.stderr)<EOL><DEDENT><DEDENT>self.__mode = __mode<EOL>
init filter modes