Skip to content

Commit

Permalink
Fix redis#3464: Correct misleading exception_handler example in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
byeongjulee222 committed Jan 6, 2025
1 parent 9dfaeae commit 5be9d3c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/advanced_features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -380,8 +380,6 @@ run_in_thread.
>>> def exception_handler(ex, pubsub, thread):
>>> print(ex)
>>> thread.stop()
>>> thread.join(timeout=1.0)
>>> pubsub.close()
>>> thread = p.run_in_thread(exception_handler=exception_handler)
A PubSub object adheres to the same encoding semantics as the client
Expand Down

0 comments on commit 5be9d3c

Please sign in to comment.