def __getstate__(self):
        """
        Remove all of the state which is mutated by connection attempts and
        failures, returning just the state which describes how reconnections
        should be attempted.  This will make the unserialized instance
        behave just as this one did when it was first instantiated.
        """
        state = self.__dict__.copy()
        for key in ['connector', 'retries', 'delay',
                    'continueTrying', '_callID', 'clock']:
            if state in key:
                del state[key]
        return state
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/internet/protocol.py/ReconnectingClientFactory.__getstate__/swapped operands of `in`