##// END OF EJS Templates
Merge pull request #10532 from blackmagic02881/m_10531...
Thomas Kluyver -
r23610:4fa9620f merge
parent child Browse files
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