Skip to content

Commit 09b1376

Browse files
Fix #3464: Correct misleading exception_handler example in docs (#3474)
1 parent c9a277e commit 09b1376

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/advanced_features.rst

-2
Original file line numberDiff line numberDiff line change
@@ -380,8 +380,6 @@ run_in_thread.
380380
>>> def exception_handler(ex, pubsub, thread):
381381
>>> print(ex)
382382
>>> thread.stop()
383-
>>> thread.join(timeout=1.0)
384-
>>> pubsub.close()
385383
>>> thread = p.run_in_thread(exception_handler=exception_handler)
386384
387385
A PubSub object adheres to the same encoding semantics as the client

0 commit comments

Comments
 (0)