more improvements for python statement mover

This commit is contained in:
alexey.ivanov
2010-05-11 16:53:06 +04:00
parent 0f5aa4541a
commit 03762a6f9d
4 changed files with 27 additions and 12 deletions
+2 -1
View File
@@ -6,7 +6,8 @@ class A:
if d:
self.bar()
c<caret> = 3
a = 2
if c:
a = 2
def bar(self):
pass
+3 -2
View File
@@ -5,8 +5,9 @@ class A:
if c:
if d:
self.bar()
a = 2
c = 3
if c:
a = 2
c = 3
def bar(self):
pass
+2 -1
View File
@@ -6,7 +6,8 @@ class A:
if d:
c = 3
self.bar()
a = 2
if c:
a = 2
def bar(self):
pass