From a165799671c9b0ddc7534ca6f54c9befaccd7116 Mon Sep 17 00:00:00 2001 From: Stewart Ferguson Date: Sun, 3 Feb 2019 12:49:08 +0100 Subject: [PATCH] Fixing some spelling in documentation --- docs/source/appscripting/Introduction.rst | 4 ++-- docs/source/scripting/introduction.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/source/appscripting/Introduction.rst b/docs/source/appscripting/Introduction.rst index 7c3c2ab8e..16a18f1b0 100644 --- a/docs/source/appscripting/Introduction.rst +++ b/docs/source/appscripting/Introduction.rst @@ -58,12 +58,12 @@ The following are the concepts supported by the framework. possible for a recording to be run directly by the Python interpreter and independently of the application that made the recording. Otherwise the application must run the script and first create any scriptable objects - refered to in the script. + referred to in the script. - Binding A script runs in a namespace which is, by default, empty. If the scriptable - objects refered to in a script are not created by the script (because their + objects referred to in a script are not created by the script (because their type's ``__init__()`` method isn't scriptable) then they must be created by the application and added to the namespace. Adding an object to the namespace is called binding. diff --git a/docs/source/scripting/introduction.rst b/docs/source/scripting/introduction.rst index 24798b649..18700e1d1 100644 --- a/docs/source/scripting/introduction.rst +++ b/docs/source/scripting/introduction.rst @@ -179,7 +179,7 @@ Here are a few advanced use cases. user to save the script. - Sometimes it is not enough to just record trait changes, one may want - to pass an arbitrary string or command when recording is occuring. + to pass an arbitrary string or command when recording is occurring. To allow for this, if one defines a ``recorder`` trait on the object, it is set to the current recorder. One can then use this recorder to do whatever one wants. This is very convenient.