Show More
@@ -196,12 +196,10 b' class InteractiveShellEmbed(TerminalInteractiveShell):' | |||||
196 | """ |
|
196 | """ | |
197 |
|
197 | |||
198 | if (global_ns is not None) and (module is None): |
|
198 | if (global_ns is not None) and (module is None): | |
199 |
|
|
199 | raise DeprecationWarning("'global_ns' keyword argument is deprecated, and has been removed in IPython 5.0 use `module` keyword argument instead.") | |
200 | module = DummyMod() |
|
|||
201 | module.__dict__ = global_ns |
|
|||
202 |
|
200 | |||
203 | if (display_banner is not None): |
|
201 | if (display_banner is not None): | |
204 | warnings.warn("The display_banner parameter is deprecated.", DeprecationWarning) |
|
202 | warnings.warn("The display_banner parameter is deprecated since IPython 4.0", DeprecationWarning) | |
205 |
|
203 | |||
206 | # Get locals and globals from caller |
|
204 | # Get locals and globals from caller | |
207 | if ((local_ns is None or module is None or compile_flags is None) |
|
205 | if ((local_ns is None or module is None or compile_flags is None) |
General Comments 0
You need to be logged in to leave comments.
Login now