environment/lib/python2.7/site-packages/IPython/core/extensions.py
def unload_extension(self, module_str):
        """Unload an IPython extension by its module name.

        This function looks up the extension's name in ``sys.modules`` and
        simply calls ``mod.unload_ipython_extension(self)``.
        """
        if module_str in sys.modules:
            mod = sys.modules[module_str]
            self._call_unload_ipython_extension(mod)
def unload_extension(self, module_str):
        if module_str in sys.modules:
            mod = sys.modules[module_str]
            self._call_unload_ipython_extension(mod)
def unload_extension ( self , module_str ) : if module_str in sys . modules : mod = sys . modules [ module_str ] self . _call_unload_ipython_extension ( mod )
Unload an IPython extension by its module name.

        This function looks up the extension's name in ``sys.modules`` and
        simply calls ``mod.unload_ipython_extension(self)``.
Unload an IPython extension by its module name .