resolve qualified references imported inside a function (PY-1185)

This commit is contained in:
Dmitry Jemerov
2010-06-30 22:02:13 +04:00
parent 62d87ef235
commit 0d6040ba29
8 changed files with 116 additions and 75 deletions
@@ -0,0 +1,6 @@
def foo():
import mypackage.bar
mypackage.bar.dostuff()
# <ref>
foo()
@@ -0,0 +1,2 @@
def dostuff():
print("stuff happens here")