mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fixed PY-5201 Move statement: changes code logic on moving one-line compound statement outside nested one
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
if condition:
|
||||
pass
|
||||
elif other_condition:
|
||||
if another_one:
|
||||
if T<caret>rue: a = 1 # <- move statement up here
|
||||
else: b = 2
|
||||
@@ -0,0 +1,6 @@
|
||||
if condition:
|
||||
pass
|
||||
elif other_condition:
|
||||
if another_one:
|
||||
if T<caret>rue: a = 1 # <- move statement up here
|
||||
else: b = 2
|
||||
@@ -0,0 +1,7 @@
|
||||
if condition:
|
||||
pass
|
||||
elif other_condition:
|
||||
if T<caret>rue: a = 1 # <- move statement up here
|
||||
else: b = 2
|
||||
if another_one:
|
||||
pass
|
||||
Reference in New Issue
Block a user