summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-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__':