MCPcopy Index your code
hub / github.com/ipython/ipython / pdoc

Method pdoc

IPython/core/magics/namespace.py:86–91  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 1

_inspectMethod · 0.80

Tested by

no test coverage detected