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

Method __post_init__

Tools/clinic/libclinic/errors.py:12–13  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10 filename: str | None = None
11
12 def __post_init__(self) -> None:
13 super().__init__(self.message)
14
15 def report(self, *, warn_only: bool = False) -> str:
16 msg = "Warning" if warn_only else "Error"

Callers

nothing calls this directly

Calls 2

superClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected