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

Method filelink

Lib/pydoc.py:728–730  ·  view source on GitHub ↗

Make a link to source file.

(self, url, path)

Source from the content-addressed store, hash-verified

726 return '<a href="%s">%s</a>' % (url, text)
727
728 def filelink(self, url, path):
729 """Make a link to source file."""
730 return '<a href="file:%s">%s</a>' % (url, path)
731
732 def markup(self, text, escape=None, funcs={}, classes={}, methods={}):
733 """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