mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fixed multiple compatibility messages for 'yield from' syntax (PY-7374)
This commit is contained in:
@@ -484,6 +484,7 @@ public abstract class CompatibilityVisitor extends PyAnnotator {
|
||||
if (level.isOlderThan(LanguageLevel.PYTHON33)) {
|
||||
registerProblem(node, "Python versions < 3.3 do not support this syntax. Delegating to a subgenerator is available since " +
|
||||
"Python 3.3; use explicit iteration over subgenerator instead.");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user