Show More
@@ -658,6 +658,9 b' class Inspector(Colorable):' | |||
|
658 | 658 | |
|
659 | 659 | else: |
|
660 | 660 | # General Python objects |
|
661 | append_field(_mime, 'Signature', 'definition', code_formatter) | |
|
662 | append_field(_mime, 'Call signature', 'call_def', code_formatter) | |
|
663 | ||
|
661 | 664 | append_field(_mime, 'Type', 'type_name') |
|
662 | 665 | |
|
663 | 666 | # Base class for old-style instances |
@@ -671,8 +674,7 b' class Inspector(Colorable):' | |||
|
671 | 674 | append_field(_mime, 'Namespace', 'namespace') |
|
672 | 675 | |
|
673 | 676 | append_field(_mime, 'Length', 'length') |
|
674 |
append_field(_mime, 'File', 'file') |
|
|
675 | append_field(_mime, 'Signature', 'definition', code_formatter) | |
|
677 | append_field(_mime, 'File', 'file') | |
|
676 | 678 | |
|
677 | 679 | # Source or docstring, depending on detail level and whether |
|
678 | 680 | # source found. |
@@ -683,11 +685,9 b' class Inspector(Colorable):' | |||
|
683 | 685 | |
|
684 | 686 | append_field(_mime, 'Class docstring', 'class_docstring', formatter) |
|
685 | 687 | append_field(_mime, 'Init docstring', 'init_docstring', formatter) |
|
686 | append_field(_mime, 'Call signature', 'call_def', code_formatter) | |
|
687 | 688 | append_field(_mime, 'Call docstring', 'call_docstring', formatter) |
|
688 | 689 | |
|
689 | 690 | |
|
690 | ||
|
691 | 691 | return self.format_mime(_mime) |
|
692 | 692 | |
|
693 | 693 | def pinfo(self, obj, oname='', formatter=None, info=None, detail_level=0, enable_html_pager=True): |
General Comments 0
You need to be logged in to leave comments.
Login now