##// END OF EJS Templates
Fix typo
Jean Cruypenynck -
Show More
@@ -1410,7 +1410,7 b' class IPCompleter(Completer):'
1410 1410 pass
1411 1411 elif not (inspect.isfunction(obj) or inspect.ismethod(obj)):
1412 1412 if inspect.isclass(obj):
1413 #for cython embededsignature=True the constructor docstring
1413 #for cython embeddedsignature=True the constructor docstring
1414 1414 #belongs to the object itself not __init__
1415 1415 ret += self._default_arguments_from_docstring(
1416 1416 getattr(obj, '__doc__', ''))
@@ -283,7 +283,7 b' class EmbeddedSphinxShell(object):'
283 283 profile = ProfileDir.create_profile_dir(pdir)
284 284
285 285 # Create and initialize global ipython, but don't start its mainloop.
286 # This will persist across different EmbededSphinxShell instances.
286 # This will persist across different EmbeddedSphinxShell instances.
287 287 IP = InteractiveShell.instance(config=config, profile_dir=profile)
288 288 atexit.register(self.cleanup)
289 289
@@ -19,7 +19,7 b' from IPython.terminal.ipapp import load_default_config'
19 19 from traitlets import Bool, CBool, Unicode
20 20 from IPython.utils.io import ask_yes_no
21 21
22 class KillEmbeded(Exception):pass
22 class KillEmbedded(Exception):pass
23 23
24 24 # This is an additional magic that is exposed in embedded shells.
25 25 @magics_class
@@ -94,7 +94,7 b' class EmbeddedMagics(Magics):'
94 94 """%exit_raise Make the current embedded kernel exit and raise and exception.
95 95
96 96 This function sets an internal flag so that an embedded IPython will
97 raise a `IPython.terminal.embed.KillEmbeded` Exception on exit, and then exit the current I. This is
97 raise a `IPython.terminal.embed.KillEmbedded` Exception on exit, and then exit the current I. This is
98 98 useful to permanently exit a loop that create IPython embed instance.
99 99 """
100 100
@@ -230,7 +230,7 b' class InteractiveShellEmbed(TerminalInteractiveShell):'
230 230 print(self.exit_msg)
231 231
232 232 if self.should_raise:
233 raise KillEmbeded('Embedded IPython raising error, as user requested.')
233 raise KillEmbedded('Embedded IPython raising error, as user requested.')
234 234
235 235
236 236 def mainloop(self, local_ns=None, module=None, stack_depth=0,
@@ -785,7 +785,7 b''
785 785 "cell_type": "markdown",
786 786 "metadata": {},
787 787 "source": [
788 "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",
788 "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",
789 789 "\n",
790 790 "For example, converting this noetebook to _epub_ may decide to use the MathML representation as most ebook reader cannot run mathjax (unlike browsers). \n",
791 791 "\n",
General Comments 0
You need to be logged in to leave comments. Login now