MCPcopy Index your code
hub / github.com/python/mypy / __init__

Method __init__

docs/source/html_builder.py:20–24  ·  view source on GitHub ↗
(self, app: Sphinx, env: BuildEnvironment)

Source from the content-addressed store, hash-verified

18 strict_file: Path
19
20 def __init__(self, app: Sphinx, env: BuildEnvironment) -> None:
21 super().__init__(app, env)
22 self._ref_to_doc = {}
23 self.strict_file = Path(self.srcdir) / "strict_list.rst"
24 self._add_strict_list()
25
26 def write_doc(self, docname: str, doctree: document) -> None:
27 super().write_doc(docname, doctree)

Callers

nothing calls this directly

Calls 1

_add_strict_listMethod · 0.95

Tested by

no test coverage detected