Show More
@@ -571,8 +571,12 b' class Inspector:' | |||
|
571 | 571 | add_fields([('Repr', "string_form")]) |
|
572 | 572 | |
|
573 | 573 | elif info['ismagic']: |
|
574 | add_fields([("Docstring", "docstring"), | |
|
575 | ("File", "file") | |
|
574 | if detail_level > 0 and info['source'] is not None: | |
|
575 | add_fields([("Source", "source")]) | |
|
576 | else: | |
|
577 | add_fields([("Docstring", "docstring")]) | |
|
578 | ||
|
579 | add_fields([("File", "file"), | |
|
576 | 580 | ]) |
|
577 | 581 | |
|
578 | 582 | elif info['isclass'] or is_simple_callable(obj): |
General Comments 0
You need to be logged in to leave comments.
Login now