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

Method filelink

Lib/pydoc.py:773–775  ·  view source on GitHub ↗

Make a link to source file.

(self, url, path)

Source from the content-addressed store, hash-verified

771 return '<a href="%s">%s</a>' % (url, text)
772
773 def filelink(self, url, path):
774 """Make a link to source file."""
775 return '<a href="file:%s">%s</a>' % (url, path)
776
777 def markup(self, text, escape=None, funcs={}, classes={}, methods={}):
778 """Mark up some plain text, given a context of symbols to look for.

Callers 1

docmoduleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected