MCPcopy Index your code
hub / github.com/python/cpython / docother

Method docother

Lib/pydoc.py:1171–1174  ·  view source on GitHub ↗

Produce HTML documentation for a data object.

(self, object, name=None, mod=None, *ignored)

Source from the content-addressed store, hash-verified

1169 docproperty = docdata
1170
1171 def docother(self, object, name=None, mod=None, *ignored):
1172 """Produce HTML documentation for a data object."""
1173 lhs = name and '<strong>%s</strong> = ' % name or ''
1174 return lhs + self.repr(object)
1175
1176 def index(self, dir, shadowed=None):
1177 """Generate an HTML index for a directory of modules."""

Callers 2

spilldataMethod · 0.95
documentMethod · 0.45

Calls 1

reprMethod · 0.45

Tested by

no test coverage detected