summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/interaction.py2
-rw-r--r--python/websocketprovider.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/interaction.py b/python/interaction.py
index ba9da5a3..2331b586 100644
--- a/python/interaction.py
+++ b/python/interaction.py
@@ -1195,7 +1195,7 @@ def get_choice_input(prompt, title, choices):
def get_open_filename_input(prompt: str, ext: str = "") -> Optional[str]:
- """
+ r"""
``get_open_filename_input`` prompts the user for a file name to open
.. note:: This API functions differently on the command-line vs the UI. In the UI a pop-up is used. On the command-line \
diff --git a/python/websocketprovider.py b/python/websocketprovider.py
index 2b453c35..f987c1df 100644
--- a/python/websocketprovider.py
+++ b/python/websocketprovider.py
@@ -136,7 +136,7 @@ class WebsocketClient(object):
raise NotImplementedError
def connect(self, url, headers=None, on_connected=nop, on_disconnected=nop, on_error=nop, on_data=nop):
- """
+ r"""
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.