summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan C. Brammer <jan.c.brammer@gmail.com>2021-09-30 12:30:30 +0200
committerGitHub <noreply@github.com>2021-09-30 13:30:30 +0300
commit799c13965f99e0863dae5aa712d70733d9cff210 (patch)
treefe87d1353d2c332330b1464760b3f3fd9233cf59
parent53658c4f865c4f2e1f6810c6ce4e9b31a9dd7eaa (diff)
downloadredis-py-799c13965f99e0863dae5aa712d70733d9cff210.tar.gz
Fix RST syntax error in README. (#1451)
-rw-r--r--README.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index ec87e24..710b8a6 100644
--- a/README.rst
+++ b/README.rst
@@ -744,6 +744,7 @@ appropriately. The exception handler will take as arguments the exception
itself, the pubsub object, and the worker thread returned by `run_in_thread`.
.. code-block:: pycon
+
>>> p.subscribe(**{'my-channel': my_handler})
>>> def exception_handler(ex, pubsub, thread):
>>> print(ex)