code: def add(self, priority, observer, callble):
          
          #if observer is not None:
          ins = 0
          for pr, _, _ in self:
              if priority > pr:
                  break
              ins += 1
          self._poc.insert(ins, (priority, weakref.ref(observer), callble))
docs: Add an observer with priority and callble