From 5be9d3cbe6c0dfe151e9ecd50f338f1c617f9e8f Mon Sep 17 00:00:00 2001 From: byeongjulee222 <52685247+byeongjulee222@users.noreply.github.com> Date: Tue, 7 Jan 2025 08:29:02 +0900 Subject: [PATCH] Fix #3464: Correct misleading exception_handler example in docs --- docs/advanced_features.rst | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/advanced_features.rst b/docs/advanced_features.rst index de645bd764..0ed3e1ff34 100644 --- a/docs/advanced_features.rst +++ b/docs/advanced_features.rst @@ -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