mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Merge branch 'master' of git.labs.intellij.net:idea/ultimate
This commit is contained in:
@@ -108,7 +108,8 @@ public class PyUtil {
|
||||
return ArrayUtil.toObjectArray(result, aClass);
|
||||
}
|
||||
|
||||
public static PyExpression flattenParens(PyExpression expr) {
|
||||
@Nullable
|
||||
public static PyExpression flattenParens(@Nullable PyExpression expr) {
|
||||
while (expr instanceof PyParenthesizedExpression) {
|
||||
expr = ((PyParenthesizedExpression) expr).getContainedExpression();
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
for i in range(1, 10):
|
||||
print i
|
||||
|
||||
for i in range(1, 10):
|
||||
print i
|
||||
@@ -1,5 +1,4 @@
|
||||
print 1
|
||||
|
||||
for j in range(0, 2):
|
||||
for i in range(1, 10):
|
||||
print i
|
||||
|
||||
Reference in New Issue
Block a user