From d9eedc8c56eb9d99fe1a4ccf3893902c5339cf02 2013-08-27 00:49:51 From: Thomas Kluyver Date: 2013-08-27 00:49:51 Subject: [PATCH] Update extension docs with new method for defining magic functions. --- diff --git a/docs/source/config/extensions/index.rst b/docs/source/config/extensions/index.rst index 361fbee..1b47776 100644 --- a/docs/source/config/extensions/index.rst +++ b/docs/source/config/extensions/index.rst @@ -57,7 +57,7 @@ IPython at that point. the extension again. It is up to the extension author to add code to manage that. -Useful :class:`InteractiveShell` methods include :meth:`~IPython.core.interactiveshell.InteractiveShell.define_magic`, +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 :meth:`~IPython.core.interactiveshell.InteractiveShell.drop_by_id` (to remove variables on unloading).