summaryrefslogtreecommitdiff
path: root/examples/python_scripting.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-04-15 14:26:29 -0700
committerTodd Leonhardt <todd.leonhardt@gmail.com>2018-04-15 14:26:29 -0700
commit60dddb03d05ccf4088242a524e624f61782dd40f (patch)
tree816eb6176ea40bf9d7c6f0d15715fe0a4b813cda /examples/python_scripting.py
parent40eb6f6c9428a5a3a54cebef34da7dae173dd074 (diff)
downloadcmd2-git-60dddb03d05ccf4088242a524e624f61782dd40f.tar.gz
Started removing dependency on six
Removed all dependency on six other than for six.moves.input Also: - Started removing code branches which were for Python 2 support
Diffstat (limited to 'examples/python_scripting.py')
-rwxr-xr-xexamples/python_scripting.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/python_scripting.py b/examples/python_scripting.py
index 5f7996e2..7e2cf345 100755
--- a/examples/python_scripting.py
+++ b/examples/python_scripting.py
@@ -25,7 +25,7 @@ class CmdLineApp(cmd2.Cmd):
def __init__(self):
# Enable the optional ipy command if IPython is installed by setting use_ipython=True
- cmd2.Cmd.__init__(self, use_ipython=True)
+ super().__init__(use_ipython=True)
self._set_prompt()
self.intro = 'Happy 𝛑 Day. Note the full Unicode support: 😇 (Python 3 only) 💩'