Print the docstring for an object. If the given object is a class, it will print both the class and the constructor docstrings.
(self, parameter_s='', namespaces=None)
| 84 | |
| 85 | @line_magic |
| 86 | def pdoc(self, parameter_s='', namespaces=None): |
| 87 | """Print the docstring for an object. |
| 88 | |
| 89 | If the given object is a class, it will print both the class and the |
| 90 | constructor docstrings.""" |
| 91 | self.shell._inspect('pdoc',parameter_s, namespaces) |
| 92 | |
| 93 | @line_magic |
| 94 | def psource(self, parameter_s='', namespaces=None): |