##// END OF EJS Templates
reformat terminal
Matthias Bussonnier -
Show More
@@ -49,7 +49,6 b' class EmbeddedMagics(Magics):'
49 you may then kill it and the program will then continue to run without
49 you may then kill it and the program will then continue to run without
50 the interactive shell interfering again.
50 the interactive shell interfering again.
51
51
52
53 Kill Instance Option:
52 Kill Instance Option:
54
53
55 If for some reasons you need to kill the location where the instance
54 If for some reasons you need to kill the location where the instance
@@ -266,25 +265,21 b' class InteractiveShellEmbed(TerminalInteractiveShell):'
266
265
267 Parameters
266 Parameters
268 ----------
267 ----------
269
270
271 local_ns, module
268 local_ns, module
272 Working local namespace (a dict) and module (a module or similar
269 Working local namespace (a dict) and module (a module or similar
273 object). If given as None, they are automatically taken from the scope
270 object). If given as None, they are automatically taken from the scope
274 where the shell was called, so that program variables become visible.
271 where the shell was called, so that program variables become visible.
275
276 stack_depth : int
272 stack_depth : int
277 How many levels in the stack to go to looking for namespaces (when
273 How many levels in the stack to go to looking for namespaces (when
278 local_ns or module is None). This allows an intermediate caller to
274 local_ns or module is None). This allows an intermediate caller to
279 make sure that this function gets the namespace from the intended
275 make sure that this function gets the namespace from the intended
280 level in the stack. By default (0) it will get its locals and globals
276 level in the stack. By default (0) it will get its locals and globals
281 from the immediate caller.
277 from the immediate caller.
282
283 compile_flags
278 compile_flags
284 A bit field identifying the __future__ features
279 A bit field identifying the __future__ features
285 that are enabled, as passed to the builtin :func:`compile` function.
280 that are enabled, as passed to the builtin :func:`compile` function.
286 If given as None, they are automatically taken from the scope where
281 If given as None, they are automatically taken from the scope where
287 the shell was called.
282 the shell was called.
288
283
289 """
284 """
290
285
@@ -113,9 +113,9 b' class TerminalMagics(Magics):'
113
113
114 Shell escapes are not supported (yet).
114 Shell escapes are not supported (yet).
115
115
116 See also
116 See Also
117 --------
117 --------
118 paste: automatically pull code from clipboard.
118 paste : automatically pull code from clipboard.
119
119
120 Examples
120 Examples
121 --------
121 --------
@@ -176,9 +176,9 b' class TerminalMagics(Magics):'
176
176
177 IPython statements (magics, shell escapes) are not supported (yet).
177 IPython statements (magics, shell escapes) are not supported (yet).
178
178
179 See also
179 See Also
180 --------
180 --------
181 cpaste: manually paste code into terminal until you mark its end.
181 cpaste : manually paste code into terminal until you mark its end.
182 """
182 """
183 opts, name = self.parse_options(parameter_s, 'rq', mode='string')
183 opts, name = self.parse_options(parameter_s, 'rq', mode='string')
184 if 'r' in opts:
184 if 'r' in opts:
General Comments 0
You need to be logged in to leave comments. Login now