Show More
@@ -56,7 +56,6 b' class _Helper(object):' | |||
|
56 | 56 | pydoc.help.output = DummyWriter(self._pager) |
|
57 | 57 | pydoc.help.interact = lambda :1 |
|
58 | 58 | |
|
59 | #helper.output.write = self.doc.append | |
|
60 | 59 | return pydoc.help(*args, **kwds) |
|
61 | 60 | |
|
62 | 61 | |
@@ -153,9 +152,12 b' class NonBlockingIPShell(object):' | |||
|
153 | 152 | ip = IPython.ipapi.get() |
|
154 | 153 | ip.expose_magic('Exit', self._setDoExit) |
|
155 | 154 | ip.expose_magic('Quit', self._setDoExit) |
|
155 | #we replace the help command | |
|
156 | self._IP.user_ns['help'] = _Helper(self._pager_help) | |
|
156 | 157 | |
|
157 | 158 | sys.excepthook = excepthook |
|
158 | 159 | |
|
160 | #vars used by _execute | |
|
159 | 161 | self._iter_more = 0 |
|
160 | 162 | self._history_level = 0 |
|
161 | 163 | self._complete_sep = re.compile('[\s\{\}\[\]\(\)]') |
@@ -171,9 +173,6 b' class NonBlockingIPShell(object):' | |||
|
171 | 173 | self._ask_exit = False |
|
172 | 174 | self._add_button = None |
|
173 | 175 | |
|
174 | #we replace the help command | |
|
175 | self._IP.user_ns['help'] = _Helper(self._pager_help) | |
|
176 | ||
|
177 | 176 | #----------------------- Thread management section ---------------------- |
|
178 | 177 | def doExecute(self,line): |
|
179 | 178 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now