summaryrefslogtreecommitdiff
path: root/cmd2/cmd2.py
diff options
context:
space:
mode:
Diffstat (limited to 'cmd2/cmd2.py')
-rwxr-xr-xcmd2/cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/cmd2.py b/cmd2/cmd2.py
index 9d29418b..6b509c20 100755
--- a/cmd2/cmd2.py
+++ b/cmd2/cmd2.py
@@ -440,7 +440,7 @@ class Cmd(cmd.Cmd):
self.py_bridge_name = 'app'
# Defines app-specific variables/functions available in Python shells and pyscripts
- self.py_locals = {}
+ self.py_locals = dict()
# True if running inside a Python script or interactive console, False otherwise
self._in_py = False