diff options
author | Eric Lin <anselor@gmail.com> | 2018-04-15 23:24:03 -0400 |
---|---|---|
committer | Eric Lin <anselor@gmail.com> | 2018-04-15 23:24:03 -0400 |
commit | bfc190e64481c161929d69e358c0dccb32d67c21 (patch) | |
tree | 96b12312e91ec3497faf0adce547656ed1431387 /examples/arg_print.py | |
parent | 8d4f8411bb5f6bbac8ec121f897ccece1b97006c (diff) | |
parent | 480c7f8bbcdf1179312f71f525e79102aa4551ae (diff) | |
download | cmd2-git-bfc190e64481c161929d69e358c0dccb32d67c21.tar.gz |
Merge remote-tracking branch 'origin/python3' into autocompleter
Diffstat (limited to 'examples/arg_print.py')
-rwxr-xr-x | examples/arg_print.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/arg_print.py b/examples/arg_print.py index 3083c0d7..18fa483f 100755 --- a/examples/arg_print.py +++ b/examples/arg_print.py @@ -28,7 +28,7 @@ class ArgumentAndOptionPrinter(cmd2.Cmd): self.shortcuts.update({'$': 'aprint', '%': 'oprint'}) # Make sure to call this super class __init__ *after* setting commentGrammars and/or updating shortcuts - cmd2.Cmd.__init__(self) + super().__init__() # NOTE: It is critical that the super class __init__ method be called AFTER updating certain parameters which # are not settable at runtime. This includes the commentGrammars, shortcuts, multilineCommands, etc. |