void (@NotNull PyExceptPart node) { super.visitPyExceptBlock(node); final PyExpression exceptClass = node.getExceptClass(); if (exceptClass != null) { PsiElement element = exceptClass.getNextSibling(); while (element instanceof PsiWhiteSpace) { element = element.getNextSibling(); } if (element != null && ",".equals(element.getText())) { registerForAllMatchingVersions(level -> level.isPy3K() && registerForLanguageLevel(level), PyPsiBundle.message("INSP.compatibility.feature.support.this.syntax"), node, new ReplaceExceptPartQuickFix()); } } PsiElement star = PyPsiUtils.getFirstChildOfType(node, PyTokenTypes.MULT); if (star != null) { registerForAllMatchingVersions(level -> level.isOlderThan(LanguageLevel.PYTHON311), PyPsiBundle.message("INSP.compatibility.feature.support.starred.except.part"), star); } }