--- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleStatisticsDialog.py Sun Dec 03 16:44:52 2023 +0100 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleStatisticsDialog.py Sun Dec 03 19:46:34 2023 +0100 @@ -51,7 +51,7 @@ textWrapper = textwrap.TextWrapper(width=80) - for msgCode in sorted(stats.keys()): + for msgCode in sorted(stats): message = getTranslatedMessage(msgCode, [], example=True) if message is None: continue