Show More
@@ -1168,7 +1168,7 b' class InteractiveShell(Configurable, Magic):' | |||
|
1168 | 1168 | if info.found: |
|
1169 | 1169 | return self.inspector.info(info.obj, info=info) |
|
1170 | 1170 | else: |
|
1171 | return oinspect.mk_object_info({}) | |
|
1171 | return oinspect.mk_object_info({'found' : False}) | |
|
1172 | 1172 | |
|
1173 | 1173 | #------------------------------------------------------------------------- |
|
1174 | 1174 | # Things related to history management |
@@ -585,7 +585,7 b' class Inspector:' | |||
|
585 | 585 | |
|
586 | 586 | # store output in a dict, we'll later convert it to an ObjectInfo. We |
|
587 | 587 | # initialize it here and fill it as we go |
|
588 | out = dict(isalias=isalias, ismagic=ismagic) | |
|
588 | out = dict(found=True, isalias=isalias, ismagic=ismagic) | |
|
589 | 589 | |
|
590 | 590 | string_max = 200 # max size of strings to show (snipped if longer) |
|
591 | 591 | shalf = int((string_max -5)/2) |
General Comments 0
You need to be logged in to leave comments.
Login now