Files
openide/python/testData/completion/notImportedSubmodulesOfNamespacePackage/a.py
Mikhail Golubev 3b04af366a Improve resolve/completion for package attributes (PY-14385, PY-14387, PY-14388, PY-14335)
* Outside of import statement do not suggest names of not imported
submodules for namespace packages (PY-14385). It has been done so for
normal packages (with __init__.py) already, now the same policy
applies to namespace packages.
* While searching for imported submodules, use only immediate
children of package, not arbitrary descendants (PY-14387).
* Names defined in __init__.py for indirectly imported (intermediate)
packages are included in completion list (PY-14388).
* Removed custom collecting of submodule names from PyModuleType,
use only PyModuleType#collectImportedSubmodules for this purpose.
As result duplicate undecorated entries are no longer included
in completion list for namespace packages (PY-14335).
2014-11-14 16:25:30 +03:00

4 lines
34 B
Python

import nspkg1.m2
nspkg1.m<caret>