parameters: (self, data)
docstring: This sends message to listeners of parent topics as well.
          If an exception is raised in a listener, the publish is
          aborted, except if there is a handler (see
          pub.setListenerExcHandler).
docstring_summary: This sends message to listeners of parent topics as well.
          If an exception is raised in a listener, the publish is
          aborted, except if there is a handler (see
          pub.setListenerExcHandler).
docstring_tokens: This sends message to listeners of parent topics as well . If an exception is raised in a listener the publish is aborted except if there is a handler ( see pub . setListenerExcHandler ) .
function: def _publish(self, data):
          """This sends message to listeners of parent topics as well.
          If an exception is raised in a listener, the publish is
          aborted, except if there is a handler (see
          pub.setListenerExcHandler)."""
          self._treeConfig.notificationMgr.notifySend('pre', self)
  
          # send to ourself
          iterState = self._mix_prePublish(data)
          self.__sendMessage(data, self, iterState)
  
          # send up the chain
          topicObj = self.getParent()
          while topicObj is not None:
              if topicObj.hasListeners():
                  iterState = self._mix_prePublish(data, topicObj, iterState)
                  self.__sendMessage(data, topicObj, iterState)
  
              # done for this topic, continue up branch to parent towards root
              topicObj = topicObj.getParent()
  
          self._treeConfig.notificationMgr.notifySend('post', self)
function_tokens: def _publish ( self , data ) : self . _treeConfig . notificationMgr . notifySend ( 'pre' , self ) # send to ourself iterState = self . _mix_prePublish ( data ) self . __sendMessage ( data , self , iterState ) # send up the chain topicObj = self . getParent ( ) while topicObj is not None : if topicObj . hasListeners ( ) : iterState = self . _mix_prePublish ( data , topicObj , iterState ) self . __sendMessage ( data , topicObj , iterState ) # done for this topic, continue up branch to parent towards root topicObj = topicObj . getParent ( ) self . _treeConfig . notificationMgr . notifySend ( 'post' , self )