diff options
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 |