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

Function html_topics

Lib/pydoc.py:2548–2562  ·  view source on GitHub ↗

Index of topic texts available.

()

Source from the content-addressed store, hash-verified

2546 return 'Search Results', contents
2547
2548 def html_topics():
2549 """Index of topic texts available."""
2550
2551 def bltinlink(name):
2552 return '<a href="topic?key=%s">%s</a>' % (name, name)
2553
2554 heading = html.heading(
2555 '<strong class="title">INDEX</strong>',
2556 )
2557 names = sorted(Helper.topics.keys())
2558
2559 contents = html.multicolumn(names, bltinlink)
2560 contents = heading + html.bigsection(
2561 'Topics', 'index', contents)
2562 return 'Topics', contents
2563
2564 def html_keywords():
2565 """Index of keywords."""

Callers 1

get_html_pageFunction · 0.85

Calls 4

multicolumnMethod · 0.80
bigsectionMethod · 0.80
headingMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…