code: def pub(self, topic, message):
          '''Publish to a topic'''
          return self.send(' '.join((constants.PUB, topic)), messagef pub(self, topic, message):
          '''Publish to a topic'''
          return self.send(' '.join((constants.PUB, topic)), message)
docs: Publish to a topic