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

Function setup

Doc/tools/extensions/audit_events.py:253–264  ·  view source on GitHub ↗
(app: Sphinx)

Source from the content-addressed store, hash-verified

251
252
253def setup(app: Sphinx):
254 app.add_directive("audit-event", AuditEvent)
255 app.add_directive("audit-event-table", AuditEventListDirective)
256 app.add_post_transform(AuditEventListTransform)
257 app.connect("builder-inited", initialise_audit_events)
258 app.connect("env-purge-doc", audit_events_purge)
259 app.connect("env-merge-info", audit_events_merge)
260 return {
261 "version": "2.0",
262 "parallel_read_safe": True,
263 "parallel_write_safe": True,
264 }

Callers

nothing calls this directly

Calls 1

connectMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…