environment/lib/python2.7/site-packages/IPython/lib/deepreload.py
def add_submodule(mod, submod, fullname, subname):
    """mod.{subname} = submod"""
    if mod is None:
        return #Nothing to do here.

    if submod is None:
        submod = sys.modules[fullname]

    setattr(mod, subname, submod)

    return
def add_submodule(mod, submod, fullname, subname):
    """mod.{subname} = submod"""
    if mod is None:
        return #Nothing to do here.

    if submod is None:
        submod = sys.modules[fullname]

    setattr(mod, subname, submod)

    return
def add_submodule ( mod , submod , fullname , subname ) : if mod is None : return #Nothing to do here. if submod is None : submod = sys . modules [ fullname ] setattr ( mod , subname , submod ) return
mod.{subname} = submod
mod . { subname } = submod