Show More
@@ -296,8 +296,8 b' class EmbeddedSphinxShell(object):' | |||||
296 |
|
296 | |||
297 | # Create and initialize global ipython, but don't start its mainloop. |
|
297 | # Create and initialize global ipython, but don't start its mainloop. | |
298 | # This will persist across different EmbededSphinxShell instances. |
|
298 | # This will persist across different EmbededSphinxShell instances. | |
299 | IP = InteractiveShell.instance(config=config, profile_dir=profile) |
|
|||
300 | atexit.register(self.cleanup) |
|
299 | atexit.register(self.cleanup) | |
|
300 | IP = InteractiveShell.instance(config=config, profile_dir=profile) | |||
301 |
|
301 | |||
302 | # io.stdout redirect must be done after instantiating InteractiveShell |
|
302 | # io.stdout redirect must be done after instantiating InteractiveShell | |
303 | io.stdout = self.cout |
|
303 | io.stdout = self.cout |
General Comments 0
You need to be logged in to leave comments.
Login now