def notify(self):
        'Run all the callbacks in self.listeners.'
        for cb in self._listeners:
            cb(self)
Run all the callbacks in self.listeners.
recipes/Python/520593_Listenable_Sets/recipe-520593.py