Show More
@@ -295,14 +295,6 b' class EmbeddedSphinxShell(object):' | |||||
295 | IP = InteractiveShell.instance(config=config, profile_dir=profile) |
|
295 | IP = InteractiveShell.instance(config=config, profile_dir=profile) | |
296 | atexit.register(self.cleanup) |
|
296 | atexit.register(self.cleanup) | |
297 |
|
297 | |||
298 | sys.stdout = self.cout |
|
|||
299 | sys.stderr = self.cout |
|
|||
300 |
|
||||
301 | # For debugging, so we can see normal output, use this: |
|
|||
302 | #from IPython.utils.io import Tee |
|
|||
303 | #sys.stdout = Tee(self.cout, channel='stdout') # dbg |
|
|||
304 | #sys.stderr = Tee(self.cout, channel='stderr') # dbg |
|
|||
305 |
|
||||
306 | # Store a few parts of IPython we'll need. |
|
298 | # Store a few parts of IPython we'll need. | |
307 | self.IP = IP |
|
299 | self.IP = IP | |
308 | self.user_ns = self.IP.user_ns |
|
300 | self.user_ns = self.IP.user_ns |
General Comments 0
You need to be logged in to leave comments.
Login now