fixed PY-5527 Move statement: unnecessary pass statement on moving one-line comment out of indented block

This commit is contained in:
Ekaterina Tuzova
2012-03-22 15:59:49 +04:00
parent 5caf729b30
commit c4928a6bfc
5 changed files with 21 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
if True:
a = 1
else:
#comment <caret>
a = 2
@@ -0,0 +1,5 @@
if True:
a = 1
else:
a = 2
#comment <caret>
@@ -0,0 +1,5 @@
if True:
a = 1
#comment <caret>
else:
a = 2