Show More
@@ -296,11 +296,11 b' Currently the magic system has the following functions:""",' | |||||
296 |
|
296 | |||
297 | oname = args and args or '_' |
|
297 | oname = args and args or '_' | |
298 | info = self.shell._ofind(oname) |
|
298 | info = self.shell._ofind(oname) | |
299 |
if info |
|
299 | if info.found: | |
300 | if raw: |
|
300 | if raw: | |
301 |
txt = str(info |
|
301 | txt = str(info.obj) | |
302 | else: |
|
302 | else: | |
303 |
txt = pformat(info |
|
303 | txt = pformat(info.obj) | |
304 | page.page(txt) |
|
304 | page.page(txt) | |
305 | else: |
|
305 | else: | |
306 | print('Object `%s` not found' % oname) |
|
306 | print('Object `%s` not found' % oname) |
General Comments 0
You need to be logged in to leave comments.
Login now