summaryrefslogtreecommitdiff
path: root/examples/table_display.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2018-04-15 23:24:03 -0400
committerEric Lin <anselor@gmail.com>2018-04-15 23:24:03 -0400
commitbfc190e64481c161929d69e358c0dccb32d67c21 (patch)
tree96b12312e91ec3497faf0adce547656ed1431387 /examples/table_display.py
parent8d4f8411bb5f6bbac8ec121f897ccece1b97006c (diff)
parent480c7f8bbcdf1179312f71f525e79102aa4551ae (diff)
downloadcmd2-git-bfc190e64481c161929d69e358c0dccb32d67c21.tar.gz
Merge remote-tracking branch 'origin/python3' into autocompleter
Diffstat (limited to 'examples/table_display.py')
-rwxr-xr-xexamples/table_display.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/table_display.py b/examples/table_display.py
index 68b73d0f..2e6ea804 100755
--- a/examples/table_display.py
+++ b/examples/table_display.py
@@ -37,7 +37,7 @@ class TableDisplay(cmd2.Cmd):
"""Example cmd2 application showing how you can display tabular data."""
def __init__(self):
- cmd2.Cmd.__init__(self)
+ super().__init__()
def ptable(self, tabular_data, headers=()):
"""Format tabular data for pretty-printing as a fixed-width table and then display it using a pager.