diff options
Diffstat (limited to 'redis/client.py')
-rw-r--r-- | redis/client.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/redis/client.py b/redis/client.py index 5519da4..7e6c1cc 100644 --- a/redis/client.py +++ b/redis/client.py @@ -1143,13 +1143,6 @@ class PubSub(object): pass return self.execute_command('UNSUBSCRIBE', *channels) - def publish(self, channel, message): - """ - Publish ``message`` on ``channel``. - Returns the number of subscribers the message was delivered to. - """ - return self.execute_command('PUBLISH', channel, message) - def listen(self): "Listen for messages on channels this client has been subscribed to" while self.subscription_count: |