summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-04 23:36:49 -0500
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-04 23:36:49 -0500
commitd812fbc4d6dbd31c643caf4f8561f47ee8cb58aa (patch)
treecf4e4e3440fce1c98084d31e05194fe4265cdf9a /examples
parented83f7cfedfdcf8620e0feb9a8c6b98cd69dda16 (diff)
downloadcmd2-git-d812fbc4d6dbd31c643caf4f8561f47ee8cb58aa.tar.gz
Removed unnecessary inheritance from object
Diffstat (limited to 'examples')
-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 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