summaryrefslogtreecommitdiff
path: root/examples/remove_settable.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-05 20:55:07 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-05 20:55:07 -0500
commitf254f4a9acd5e946892e86315e8313b3181dbb6e (patch)
treee90f58feeea8dbe18f2f810e4a81601ed070e607 /examples/remove_settable.py
parentf3285c801791b46acb4a3ddd0ef372316f314151 (diff)
downloadcmd2-git-f254f4a9acd5e946892e86315e8313b3181dbb6e.tar.gz
Updated documentation
Diffstat (limited to 'examples/remove_settable.py')
-rwxr-xr-xexamples/remove_settable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/remove_settable.py b/examples/remove_settable.py
index 13a75e11..6a2e4062 100755
--- a/examples/remove_settable.py
+++ b/examples/remove_settable.py
@@ -10,7 +10,7 @@ class MyApp(cmd2.Cmd):
def __init__(self):
super().__init__()
- self.settables.pop('debug')
+ self.remove_settable('debug')
if __name__ == '__main__':