def invert(self):
if self.filter is not None:<EOL><INDENT>f = list(self.filter)<EOL>f[<NUM_LIT:1>] = self.generate_filter_op(invert=True)<EOL>self.filter = tuple(f)<EOL><DEDENT>return self<EOL>
invert the filter