class C: def m(self, c): if c: c = False c = False else: c = True c = True