From bfeba3302e995fdba373603533fce54bf788adff Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Fri, 6 May 2022 00:25:41 -0400 Subject: many pydoc formatting cleanups, added deprecated decorator and replaced ad-hoc messages with consistent decorator --- python/websocketprovider.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/websocketprovider.py') diff --git a/python/websocketprovider.py b/python/websocketprovider.py index 0a143562..c87cc384 100644 --- a/python/websocketprovider.py +++ b/python/websocketprovider.py @@ -141,7 +141,7 @@ class WebsocketClient(object): def connect(self, url, headers=None, on_connected=nop, on_disconnected=nop, on_error=nop, on_data=nop): """ Connect to a given url, asynchronously. The connection will be run in a separate thread managed by the websocket provider. - Client callbacks are set according to whichever on_ callback parameters you pass. + Client callbacks are set according to whichever on\_ callback parameters you pass. Callbacks will be called **on the thread of the connection**, so be sure to execute_on_main_thread any long-running or gui operations in the callbacks. -- cgit v1.3.1