diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-04-16 20:40:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-16 20:40:13 -0700 |
commit | 33f2f03610f6c71ed232fe3b608f8592dec88428 (patch) | |
tree | 16f9f5c56427965de247dfca92e7481cf3fd4843 /examples/submenus.py | |
parent | 8aaf6f431ef5e0f5e4e55759a08a22a4591d8f6b (diff) | |
parent | 11a9664f3bb9bba7b97b6400d787ee05842739cd (diff) | |
download | cmd2-git-33f2f03610f6c71ed232fe3b608f8592dec88428.tar.gz |
Merge pull request #354 from python-cmd2/python3
Move to Python 3.4+ only
Diffstat (limited to 'examples/submenus.py')
-rwxr-xr-x | examples/submenus.py | 2 |
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 |