From d0670917f0ddafee583e1b31d009c7eee6f5512f 2015-08-20 07:13:13 From: Matthias Bussonnier Date: 2015-08-20 07:13:13 Subject: [PATCH] fix doc on extension loading --- diff --git a/docs/source/config/extensions/index.rst b/docs/source/config/extensions/index.rst index 5c67146..fa56815 100644 --- a/docs/source/config/extensions/index.rst +++ b/docs/source/config/extensions/index.rst @@ -56,9 +56,11 @@ imported, and the currently active :class:`~IPython.core.interactiveshell.Intera instance is passed as the only argument. You can do anything you want with IPython at that point. -:func:`load_ipython_extension` will be called again if you load or reload -the extension again. It is up to the extension author to add code to manage -that. +:func:`load_ipython_extension` will not be called again if the user use +`%load_extension`. The user have to explicitly ask the extension to be +reloaded (with `%reload_extension`). In case where the use ask the extension to +be reloaded, , the extension will be unloaded (with +`unload_ipython_extension`), and loaded again. Useful :class:`InteractiveShell` methods include :meth:`~IPython.core.interactiveshell.InteractiveShell.register_magic_function`, :meth:`~IPython.core.interactiveshell.InteractiveShell.push` (to add variables to the user namespace) and