Show More
@@ -1287,6 +1287,7 b' class InteractiveShell(Configurable, Magic):' | |||
|
1287 | 1287 | return 'not found' # so callers can take other action |
|
1288 | 1288 | |
|
1289 | 1289 | def object_inspect(self, oname): |
|
1290 | with self.builtin_trap: | |
|
1290 | 1291 | info = self._object_find(oname) |
|
1291 | 1292 | if info.found: |
|
1292 | 1293 | return self.inspector.info(info.obj, oname, info=info) |
@@ -355,6 +355,12 b' class FrontendWidget(HistoryConsoleWidget, BaseFrontendMixin):' | |||
|
355 | 355 | # line as string, later we can pass False to format_call and |
|
356 | 356 | # syntax-highlight it ourselves for nicer formatting in the |
|
357 | 357 | # calltip. |
|
358 | if rep['content']['ismagic']: | |
|
359 | # Don't generate a call-tip for magics. Ideally, we should | |
|
360 | # generate a tooltip, but not on ( like we do for actual | |
|
361 | # callables. | |
|
362 | call_info, doc = None, None | |
|
363 | else: | |
|
358 | 364 | call_info, doc = call_tip(rep['content'], format_call=True) |
|
359 | 365 | if call_info or doc: |
|
360 | 366 | self._call_tip_widget.show_call_info(call_info, doc) |
General Comments 0
You need to be logged in to leave comments.
Login now