Only complete exported submodules in import statements
Only complete exported submodules in import statements

When completing `import m.` statements, only complete exported (`__all__`) objects if they are modules.
E.g. `import os.pa` should complete `os.path` but not `os.pathconf`.

ipython/ipython,ipython/ipython