MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / page

Method page

tools/python-3.11.9-amd64/Lib/pydoc.py:589–599  ·  view source on GitHub ↗

Format an HTML page.

(self, title, contents)

Source from the content-addressed store, hash-verified

587 escape = _repr_instance.escape
588
589 def page(self, title, contents):
590 """Format an HTML page."""
591 return '''\
592<!DOCTYPE html>
593<html lang="en">
594<head>
595<meta charset="utf-8">
596<title>Python: %s</title>
597</head><body>
598%s
599</body></html>''&#x27; % (title, contents)
600
601 def heading(self, title, extras=''):
602 """Format a page heading."""

Callers 2

writedocFunction · 0.45
get_html_pageFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected