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

Method __post_init__

Lib/_pyrepl/readline.py:120–125  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

118 last_used_indentation: str | None = None
119
120 def __post_init__(self) -> None:
121 super().__post_init__()
122 self.commands["maybe_accept"] = maybe_accept
123 self.commands["maybe-accept"] = maybe_accept
124 self.commands["backspace_dedent"] = backspace_dedent
125 self.commands["backspace-dedent"] = backspace_dedent
126
127 def error(self, msg: str = "none") -> None:
128 pass # don't show error messages by default

Callers

nothing calls this directly

Calls 2

superClass · 0.85
__post_init__Method · 0.45

Tested by

no test coverage detected