MCPcopy
hub / github.com/python/mypy / setup

Function setup

docs/source/conf.py:287–297  ·  view source on GitHub ↗
(app: Sphinx)

Source from the content-addressed store, hash-verified

285
286
287def setup(app: Sphinx) -> None:
288 app.add_object_type(
289 "confval",
290 "confval",
291 objname="configuration value",
292 indextemplate="pair: %s; configuration value",
293 doc_field_types=[
294 Field("type", label="Type", has_arg=False, names=("type",)),
295 Field("default", label="Default", has_arg=False, names=("default",)),
296 ],
297 )

Callers 3

setup.pyFile · 0.50
setup.pyFile · 0.50
setup.pyFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…