Fixed extract method for fragments with nonlocal variables (PY-6625)

This commit is contained in:
Andrey Vlasovskikh
2012-05-23 20:22:38 +04:00
parent f4f66b0f32
commit bd42933bd2
10 changed files with 126 additions and 32 deletions
@@ -1,8 +1,9 @@
print("start")
<begin>
import foo
<end>
foo.bar
def foo():
print("start")
<begin>
import foo
<end>
foo.bar
<result>
In:
Out: