summaryrefslogtreecommitdiff
path: root/examples/submenus.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/submenus.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/submenus.py')
-rwxr-xr-xexamples/submenus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/submenus.py b/examples/submenus.py
index 1e3da0da..44b17f33 100755
--- a/examples/submenus.py
+++ b/examples/submenus.py
@@ -19,7 +19,7 @@ class ThirdLevel(cmd2.Cmd):
"""To be used as a third level command class. """
def __init__(self, *args, **kwargs):
- cmd2.Cmd.__init__(self, *args, **kwargs)
+ super().__init__(*args, **kwargs)
self.prompt = '3rdLevel '
self.top_level_attr = None
self.second_level_attr = None