code: def notify(self, reading):
          
          # copy list before iterating in case new observers arrive
          for o in list(self._observers):
              o.update(self, reading)
docs: Notify all observers of changes to this sensor.