fixed PY-6133 Move statement: strange comment moving down to def or class statements

This commit is contained in:
Ekaterina Tuzova
2012-04-08 17:12:16 +04:00
parent b2e3d61ea6
commit 194383cbd0
6 changed files with 36 additions and 7 deletions
@@ -0,0 +1,6 @@
#comment <caret>
def f():
if True:
a = 1
else:
a = 2
@@ -0,0 +1,6 @@
def f():
#comment
if True:
a = 1
else:
a = 2
@@ -0,0 +1,6 @@
#comment <caret>
def f():
if True:
a = 1
else:
a = 2
+1 -1
View File
@@ -1,6 +1,6 @@
#comment
def f():
if True:
a = 1
else:
a = 2
#comment