Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d067091

Browse files
committed
fix doc on extension loading
1 parent a88ad30 commit d067091

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

docs/source/config/extensions/index.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,11 @@ imported, and the currently active :class:`~IPython.core.interactiveshell.Intera
5656
instance is passed as the only argument. You can do anything you want with
5757
IPython at that point.
5858

59-
:func:`load_ipython_extension` will be called again if you load or reload
60-
the extension again. It is up to the extension author to add code to manage
61-
that.
59+
:func:`load_ipython_extension` will not be called again if the user use
60+
`%load_extension`. The user have to explicitly ask the extension to be
61+
reloaded (with `%reload_extension`). In case where the use ask the extension to
62+
be reloaded, , the extension will be unloaded (with
63+
`unload_ipython_extension`), and loaded again.
6264

6365
Useful :class:`InteractiveShell` methods include :meth:`~IPython.core.interactiveshell.InteractiveShell.register_magic_function`,
6466
:meth:`~IPython.core.interactiveshell.InteractiveShell.push` (to add variables to the user namespace) and

0 commit comments

Comments
 (0)