mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-13720 PyCharm incorrectly identifies syntax error for Python 3.4
This commit is contained in:
@@ -295,7 +295,7 @@ public abstract class CompatibilityVisitor extends PyAnnotator {
|
||||
}
|
||||
}
|
||||
commonRegisterProblem(message, " not support this syntax. Raise with no arguments can only be used in an except block",
|
||||
len, node, null);
|
||||
len, node, null, false);
|
||||
// raise 1, 2, 3
|
||||
len = 0;
|
||||
message = new StringBuilder(myCommonMessage);
|
||||
|
||||
@@ -18,7 +18,7 @@ try:
|
||||
|
||||
<error descr="Python version 3.0 does not have module __builtin__">import __builtin__</error>
|
||||
|
||||
<error descr="Python version 3.0 does not support this syntax. Raise with no arguments can only be used in an except block">raise</error>
|
||||
<warning descr="Python version 3.0 does not support this syntax. Raise with no arguments can only be used in an except block">raise</warning>
|
||||
|
||||
try:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user