def method(self): while True: return 1