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

Method run

Doc/tools/extensions/c_annotations.py:370–378  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

368 final_argument_whitespace = True
369
370 def run(self) -> list[nodes.Node]:
371 state = self.env.domaindata["c_annotations"]
372 content = [
373 f"* :c:{record.role}:`{record.name}`"
374 for record in state["stable_abi_data"].values()
375 ]
376 node = nodes.paragraph()
377 self.state.nested_parse(StringList(content), 0, node)
378 return [node]
379
380
381class CorrespondingTypeSlot(SphinxDirective):

Callers

nothing calls this directly

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected