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

Class Doc

Tools/scripts/summarize_stats.py:125–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124@dataclass(frozen=True)
125class Doc:
126 text: str
127 doc: str
128
129 def markdown(self) -> str:
130 return textwrap.dedent(
131 f"""
132 {self.text}
133 <details>
134 <summary>ⓘ</summary>
135
136 {self.doc}
137 </details>
138 """
139 )
140
141
142class Count(int):

Callers 6

get_optimizer_statsMethod · 0.70
get_jit_memory_statsMethod · 0.70
calcFunction · 0.70
calc_rare_event_tableFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected