PY-296 'Move statement up/down' on method name line should move the whole method

This commit is contained in:
alexey.ivanov
2010-05-05 22:18:28 +04:00
parent d6bc7f8af5
commit 929c46c54b
24 changed files with 577 additions and 0 deletions
@@ -0,0 +1,12 @@
class A:
def f(self, a, b):
while a:
a = a / 2
for i in range(1, 10):
if a:
b = 1
elif b:
a = 1
else:
print "a"
print i