def notify(self):
        """
        Notify all attached Observers of the state of this Observable.
        """
        for observer in self._observers:
            state = {k: v for k, v in self.__dict__.items() if not k.startswith('__') and not k.startswith('_')}
            observer.update(**state)

        Notify all attached Observers of the state of this Observable.
        
pypattyrn/behavioral/observer.py