--- a/eric6/DataViews/CodeMetrics.py Fri Apr 09 18:13:36 2021 +0200 +++ b/eric6/DataViews/CodeMetrics.py Fri Apr 09 18:38:01 2021 +0200 @@ -31,7 +31,7 @@ EMPTY = tokenize.NL -class Token(object): +class Token: """ Class to store the token related infos. """ @@ -44,7 +44,7 @@ self.__dict__.update(kw) -class Parser(object): +class Parser: """ Class used to parse the source code of a Python file. """ @@ -102,7 +102,7 @@ spacer = ' ' -class SourceStat(object): +class SourceStat: """ Class used to calculate and store the source code statistics. """