##// END OF EJS Templates
?? shall show docstring if source info is not available
Ming Zhang -
Show More
@@ -648,7 +648,7 b' class Inspector(Colorable):'
648
648
649 # Source or docstring, depending on detail level and whether
649 # Source or docstring, depending on detail level and whether
650 # source found.
650 # source found.
651 if detail_level > 0:
651 if detail_level > 0 and info['source']:
652 append_field(_mime, 'Source', 'source', code_formatter)
652 append_field(_mime, 'Source', 'source', code_formatter)
653 else:
653 else:
654 append_field(_mime, 'Docstring', 'docstring', formatter)
654 append_field(_mime, 'Docstring', 'docstring', formatter)
General Comments 0
You need to be logged in to leave comments. Login now