MCPcopy Index your code
hub / github.com/RustPython/RustPython / modulelink

Method modulelink

Lib/pydoc.py:754–756  ·  view source on GitHub ↗

Make a link for a module.

(self, object)

Source from the content-addressed store, hash-verified

752 return parentname(object, modname)
753
754 def modulelink(self, object):
755 """Make a link for a module."""
756 return '<a href="%s.html">%s</a>' % (object.__name__, object.__name__)
757
758 def modpkglink(self, modpkginfo):
759 """Make a link for a module or package to display in an index."""

Callers 1

docmoduleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected