If I import a module defining a class of the same name belonging to a package, it is imported as a Class, not a Module because of the __init__.py of the parent package. See
It works for me using python 3.5.2:
import importlib importlib.reload(class) from class import module