| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
IPython.utils.traitlets.HasTraits --+
|
IPython.config.configurable.Configurable --+
|
IPython.config.configurable.SingletonConfigurable --+
|
IPython.core.magic.Magic --+
|
IPython.core.interactiveshell.InteractiveShell --+
|
IPython.frontend.terminal.interactiveshell.TerminalInteractiveShell --+
|
IPython.frontend.terminal.embed.InteractiveShellEmbed --+
|
RestShell
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
Create a configurable given a config config.
Parameters
----------
config : Config
If this is empty, default values are used. If config is a
:class:`Config` instance, it will be used to configure the
instance.
Notes
-----
Subclasses of Configurable must call the :meth:`__init__` method of
:class:`Configurable` *before* doing anything else and using
:func:`super`::
class MyConfigurable(Configurable):
def __init__(self, config=None):
super(MyConfigurable, self).__init__(config)
# Then any other code you need to finish initialization.
This ensures that instances will be configured properly.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Mon Sep 19 18:07:08 2011 | http://epydoc.sourceforge.net |