diff --git a/IPython/core/completer.py b/IPython/core/completer.py index 7d4f6ca..2deebc7 100644 --- a/IPython/core/completer.py +++ b/IPython/core/completer.py @@ -1410,7 +1410,7 @@ class IPCompleter(Completer): pass elif not (inspect.isfunction(obj) or inspect.ismethod(obj)): if inspect.isclass(obj): - #for cython embededsignature=True the constructor docstring + #for cython embeddedsignature=True the constructor docstring #belongs to the object itself not __init__ ret += self._default_arguments_from_docstring( getattr(obj, '__doc__', '')) diff --git a/IPython/sphinxext/ipython_directive.py b/IPython/sphinxext/ipython_directive.py index dfa4a2a..f27d3f2 100644 --- a/IPython/sphinxext/ipython_directive.py +++ b/IPython/sphinxext/ipython_directive.py @@ -283,7 +283,7 @@ class EmbeddedSphinxShell(object): profile = ProfileDir.create_profile_dir(pdir) # Create and initialize global ipython, but don't start its mainloop. - # This will persist across different EmbededSphinxShell instances. + # This will persist across different EmbeddedSphinxShell instances. IP = InteractiveShell.instance(config=config, profile_dir=profile) atexit.register(self.cleanup) diff --git a/IPython/terminal/embed.py b/IPython/terminal/embed.py index fddf5d8..caddefe 100644 --- a/IPython/terminal/embed.py +++ b/IPython/terminal/embed.py @@ -19,7 +19,7 @@ from IPython.terminal.ipapp import load_default_config from traitlets import Bool, CBool, Unicode from IPython.utils.io import ask_yes_no -class KillEmbeded(Exception):pass +class KillEmbedded(Exception):pass # This is an additional magic that is exposed in embedded shells. @magics_class @@ -94,7 +94,7 @@ class EmbeddedMagics(Magics): """%exit_raise Make the current embedded kernel exit and raise and exception. This function sets an internal flag so that an embedded IPython will - raise a `IPython.terminal.embed.KillEmbeded` Exception on exit, and then exit the current I. This is + raise a `IPython.terminal.embed.KillEmbedded` Exception on exit, and then exit the current I. This is useful to permanently exit a loop that create IPython embed instance. """ @@ -230,7 +230,7 @@ class InteractiveShellEmbed(TerminalInteractiveShell): print(self.exit_msg) if self.should_raise: - raise KillEmbeded('Embedded IPython raising error, as user requested.') + raise KillEmbedded('Embedded IPython raising error, as user requested.') def mainloop(self, local_ns=None, module=None, stack_depth=0, diff --git a/examples/IPython Kernel/Custom Display Logic.ipynb b/examples/IPython Kernel/Custom Display Logic.ipynb index be38505..dd879de 100644 --- a/examples/IPython Kernel/Custom Display Logic.ipynb +++ b/examples/IPython Kernel/Custom Display Logic.ipynb @@ -785,7 +785,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "In the above example, the 3 mimetypes are embeded in the notebook document this allowing custom extensions and converters to display the representation(s) of their choice.\n", + "In the above example, the 3 mimetypes are embedded in the notebook document this allowing custom extensions and converters to display the representation(s) of their choice.\n", "\n", "For example, converting this noetebook to _epub_ may decide to use the MathML representation as most ebook reader cannot run mathjax (unlike browsers). \n", "\n",