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

Class _HTMLDoc

Lib/pydoc.py:2495–2510  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2493 get_html_page(url) is returned.
2494 """
2495 class _HTMLDoc(HTMLDoc):
2496
2497 def page(self, title, contents):
2498 """Format an HTML page."""
2499 css_path = "pydoc_data/_pydoc.css"
2500 css_link = (
2501 '<link rel="stylesheet" type="text/css" href="%s">' %
2502 css_path)
2503 return ''&#x27;\
2504<!DOCTYPE>
2505<html lang="en">
2506<head>
2507<meta charset="utf-8">
2508<title>Pydoc: %s</title>
2509%s</head><body>%s<div style="clear:both;padding-top:.5em;">%s</div>
2510</body></html>''&#x27; % (title, css_link, html_navbar(), contents)
2511
2512
2513 html = _HTMLDoc()

Callers 1

_url_handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected