diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-04 23:36:49 -0500 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-04 23:36:49 -0500 |
commit | d812fbc4d6dbd31c643caf4f8561f47ee8cb58aa (patch) | |
tree | cf4e4e3440fce1c98084d31e05194fe4265cdf9a /examples | |
parent | ed83f7cfedfdcf8620e0feb9a8c6b98cd69dda16 (diff) | |
download | cmd2-git-d812fbc4d6dbd31c643caf4f8561f47ee8cb58aa.tar.gz |
Removed unnecessary inheritance from object
Diffstat (limited to 'examples')
-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 |