Insert moved function before all its usages at destination (PY-6447)

This commit is contained in:
Andrey Vlasovskikh
2012-04-29 14:42:24 +04:00
parent 2453928d87
commit aa15b8bf8b
3 changed files with 47 additions and 8 deletions
@@ -1,4 +1,7 @@
f()
import lib1
import lib2
def f():
pass
pass
f()
@@ -1,3 +1,5 @@
import lib1
from a import f
import lib2
f()