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

Function setup

Doc/tools/extensions/pyspecific.py:121–128  ·  view source on GitHub ↗
(app)

Source from the content-addressed store, hash-verified

119
120
121def setup(app):
122 app.add_object_type('opcode', 'opcode', '%s (opcode)', parse_opcode_signature)
123 app.add_object_type('pdbcommand', 'pdbcmd', '%s (pdb command)', parse_pdb_command)
124 app.add_object_type('monitoring-event', 'monitoring-event', '%s (monitoring event)', parse_monitoring_event)
125 app.add_directive_to_domain('py', 'awaitablefunction', PyAwaitableFunction)
126 app.add_directive_to_domain('py', 'awaitablemethod', PyAwaitableMethod)
127 app.connect('env-check-consistency', patch_pairindextypes)
128 return {'version': '1.0', 'parallel_read_safe': True}

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…