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

Function html_keywords

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

Index of keywords.

()

Source from the content-addressed store, hash-verified

2658 return 'Topics', contents
2659
2660 def html_keywords():
2661 """Index of keywords."""
2662 heading = html.heading(
2663 '<strong class="title">INDEX</strong>',
2664 )
2665 names = sorted(Helper.keywords.keys())
2666
2667 def bltinlink(name):
2668 return '<a href="topic?key=%s">%s</a>' % (name, name)
2669
2670 contents = html.multicolumn(names, bltinlink)
2671 contents = heading + html.bigsection(
2672 'Keywords', 'index', contents)
2673 return 'Keywords', contents
2674
2675 def html_topicpage(topic):
2676 """Topic or keyword help page."""

Callers 1

get_html_pageFunction · 0.85

Calls 5

sortedFunction · 0.85
multicolumnMethod · 0.80
bigsectionMethod · 0.80
headingMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected