From ec0d4308171b4fd67242e084eceede31c33a9d08 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Wed, 2 Jul 2025 17:08:06 -0400 Subject: must escape newlines in long parameter descriptions --- python/scriptingprovider.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'python/scriptingprovider.py') diff --git a/python/scriptingprovider.py b/python/scriptingprovider.py index bb04ce86..e3ca09f6 100644 --- a/python/scriptingprovider.py +++ b/python/scriptingprovider.py @@ -1284,12 +1284,12 @@ class PythonScriptingProvider(ScriptingProvider): """ Add a magic variable to all scripting instances created by the scripting provider :param name: Variable name identifier to be used in the interpreter - :param get_value: Function to call, before every time a script is evaluated, + :param get_value: Function to call, before every time a script is evaluated, \ to get the value of the variable - :param set_value: (Optional) Function to call after a script is evaluated, if the - value of the variable has changed during the course of the script. - If None, a warning will be printed stating that the variable is read-only. - Signature: + :param set_value: (Optional) Function to call after a script is evaluated, if the \ + value of the variable has changed during the course of the script. \ + If None, a warning will be printed stating that the variable is read-only. \ + Signature: \ (instance: PythonScriptingInstance, old_value: any, new_value: any) -> None :param depends_on: List of other variables whose values on which this variable's value depends """ -- cgit v1.3.1