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