diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2020-02-06 18:20:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 18:20:50 -0500 |
commit | c7ac2e965d025806ce5baddfc718814e3e58d639 (patch) | |
tree | 6e046c2445edf62b024a9389dc719865584dc9cf /examples/table_display.py | |
parent | 60a212c1c585f0c4c06ffcfeb9882520af8dbf35 (diff) | |
parent | c4893ea8a132c06bc71b0ddd63801604e6f85177 (diff) | |
download | cmd2-git-c7ac2e965d025806ce5baddfc718814e3e58d639.tar.gz |
Merge pull request #873 from python-cmd2/set_update
Updated set command to support tab completion of values
Diffstat (limited to 'examples/table_display.py')
-rwxr-xr-x | examples/table_display.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/table_display.py b/examples/table_display.py index a8fd2cb0..01143598 100755 --- a/examples/table_display.py +++ b/examples/table_display.py @@ -77,7 +77,7 @@ COLUMNS = [tf.Column('City', width=11, header_halign=tf.ColumnAlignment.AlignCen # ######## Table data formatted as an iterable of python objects ######### -class CityInfo(object): +class CityInfo: """City information container""" def __init__(self, city: str, province: str, country: str, continent: str, population: int, area: float): self.city = city |