--- a/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Complexity/mccabe.py Sat Apr 10 18:31:17 2021 +0200 +++ b/eric6/Plugins/CheckerPlugins/CodeStyleChecker/Complexity/mccabe.py Sat Apr 10 18:38:27 2021 +0200 @@ -88,7 +88,7 @@ """ def __init__(self): - super(PathGraphingAstVisitor, self).__init__() + super().__init__() self.classname = "" self.graphs = {} self.reset() @@ -155,7 +155,7 @@ if isinstance(node, ast.stmt): self.visitSimpleStatement(node) else: - super(PathGraphingAstVisitor, self).default(node, *args) + super().default(node, *args) def visitLoop(self, node): name = "Loop %d" % node.lineno