def modify(self, fileobj, events, data=None):
        self.unregister(fileobj)
        return self.register(fileobj, events, data)
Change a registered file object monitored events or attached data.
dataset/ETHPy150Open dpkp/kafka-python/kafka/selectors34.py/BaseSelector.modify