diff -r d4dbb6b75bdc -r 031cfa81992a src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsFunctionVisitor.py --- a/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsFunctionVisitor.py Fri Jun 07 13:51:43 2024 +0200 +++ b/src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/Annotations/AnnotationsFunctionVisitor.py Sat Jun 08 15:01:47 2024 +0200 @@ -571,8 +571,8 @@ """ if node.value is not None: # In the event of an explicit `None` return (`return None`), the - # node body will be an instance `ast.Constant` (3.8+), which we - # need to check to see if it's actually `None` + # node body will be an instance of `ast.Constant`, which we need to + # check to see if it's actually `None` if isinstance(node.value, ast.Constant) and node.value.value is None: return