mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Fix continuation indentation in while statement (PY-11869).
This commit is contained in:
@@ -284,7 +284,8 @@ public class PyBlock implements ASTBlock {
|
||||
psi instanceof PyFunction ||
|
||||
psi instanceof PyTryExceptStatement ||
|
||||
psi instanceof PyElsePart ||
|
||||
psi instanceof PyIfPart;
|
||||
psi instanceof PyIfPart ||
|
||||
psi instanceof PyWhileStatement;
|
||||
}
|
||||
|
||||
private static boolean isSubscriptionOperand(ASTNode child) {
|
||||
|
||||
@@ -28,4 +28,8 @@ try:
|
||||
pass
|
||||
except \
|
||||
AttributeError:
|
||||
pass
|
||||
pass
|
||||
|
||||
while value \
|
||||
in values: # <- missing continuation indent here
|
||||
do_smth()
|
||||
@@ -28,4 +28,8 @@ try:
|
||||
pass
|
||||
except \
|
||||
AttributeError:
|
||||
pass
|
||||
pass
|
||||
|
||||
while value \
|
||||
in values: # <- missing continuation indent here
|
||||
do_smth()
|
||||
Reference in New Issue
Block a user