Move get_module_contexts_containing_name to the references module

This commit is contained in:
Dave Halter
2020-01-17 22:49:05 +01:00
parent 4cd2b9a355
commit 26f0fa9eb0
7 changed files with 88 additions and 65 deletions

View File

@@ -367,3 +367,13 @@ in_python
from stub_folder.with_stub_folder.nested_with_stub import in_both
#< ('stub_folder.with_stub_folder.nested_with_stub', 2, 0), ('stub:stub_folder.with_stub_folder.nested_with_stub', 2, 0), ('stubs', 66, 17), (-2, 58), (0, 0)
in_both
# -----------------
# across directories
# -----------------
#< 8 (0, 0), (3, 4), ('import_tree.references', 1, 21), ('import_tree.references', 5, 4)
usage_definition = 1
if False:
#< 8 (-3, 0), (0, 4), ('import_tree.references', 1, 21), ('import_tree.references', 5, 4)
usage_definition()