Files
openide/python/testData/completion/importNestedQualifiedNamespacePackage/a.py
T
Mikhail Golubev f5b93393fc Do not ignore import element completely if qualifier was resolved to namespace package
Consider the case when we are trying to invoke auto completion in
"import foo.bar.<caret>". Previously (mistakenly) type of
qualifier "foo.bar" was PyImportedModuleType(bar), which could not be
successfully resolved unless there is some other top-level "bar" module
under project roots. Now it's correct PyImportModuleType(foo.bar).
2014-11-11 18:34:07 +03:00

1 line
29 B
Python

import nspkg1.nspkg2.f<caret>