From d812fbc4d6dbd31c643caf4f8561f47ee8cb58aa Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Tue, 4 Feb 2020 23:36:49 -0500 Subject: Removed unnecessary inheritance from object --- examples/table_display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/table_display.py') 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 -- cgit v1.2.1