diff options
| author | horizon365 <sunnylyq@live.com> | 2019-03-25 15:19:20 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-03-25 15:19:20 +0800 |
| commit | 5780e619db0ccd63f4a8561f8e58c1d4ddb8daf0 (patch) | |
| tree | 59878fb41d1e86d4ff6613aed25cfa012646c792 | |
| parent | c26e7c545f0b6205465394908ae18a248b79cc86 (diff) | |
| download | redis-py-5780e619db0ccd63f4a8561f8e58c1d4ddb8daf0.tar.gz | |
miss positional argument: 'message'
raise TypeError.
| -rw-r--r-- | README.rst | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -582,7 +582,7 @@ application. >>> p = r.pubsub(ignore_subscribe_messages=True) >>> p.subscribe('my-channel') >>> p.get_message() # hides the subscribe message and returns None - >>> r.publish('my-channel') + >>> r.publish('my-channel', 'my data') 1 >>> p.get_message() {'channel': 'my-channel', 'data': 'my data', 'pattern': None, 'type': 'message'} |
