summaryrefslogtreecommitdiff
path: root/docs/features/embedded_python_shells.rst
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2020-01-27 22:36:49 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2020-01-27 22:36:49 -0500
commit0f8f90cc2ade4135193f5399e5e6a12271668867 (patch)
treea3f8fd2c274fbac5293e218a70f55101f7b64633 /docs/features/embedded_python_shells.rst
parent95f8d883496044bcb95ce803752a8851de6ad0e5 (diff)
downloadcmd2-git-0f8f90cc2ade4135193f5399e5e6a12271668867.tar.gz
Made three public attributes of cmd2.Cmd no longer settable at runtime by end users
The 3 attributes are: - continuation_prompt - locals_in_py - prompt
Diffstat (limited to 'docs/features/embedded_python_shells.rst')
-rw-r--r--docs/features/embedded_python_shells.rst4
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/features/embedded_python_shells.rst b/docs/features/embedded_python_shells.rst
index 9d721c2c..3386e8cd 100644
--- a/docs/features/embedded_python_shells.rst
+++ b/docs/features/embedded_python_shells.rst
@@ -10,9 +10,7 @@ your cmd2 application while maintaining isolation.
You may optionally enable full access to to your application by setting
``locals_in_py`` to ``True``. Enabling this flag adds ``self`` to the python
session, which is a reference to your Cmd2 application. This can be useful for
-debugging your application. To prevent users from enabling this ability
-manually you'll need to remove ``locals_in_py`` from the ``settable``
-dictionary.
+debugging your application.
The ``app`` object (or your custom name) provides access to application
commands through raw commands. For example, any application command call be