diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2025-07-02 17:08:06 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2025-07-02 17:09:26 -0400 |
| commit | ec0d4308171b4fd67242e084eceede31c33a9d08 (patch) | |
| tree | 3de2b49cc81015a9bc4896a3e714959849f725c6 /python/scriptingprovider.py | |
| parent | 3e8291d2bfc75af0edf862808dd9849c72d27095 (diff) | |
must escape newlines in long parameter descriptions
Diffstat (limited to 'python/scriptingprovider.py')
| -rw-r--r-- | python/scriptingprovider.py | 10 |
1 files changed, 5 insertions, 5 deletions
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 """ |
