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

Method __post_init__

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

Source from the content-addressed store, hash-verified

355 config: ReadlineConfig = field(default_factory=ReadlineConfig, repr=False)
356
357 def __post_init__(self) -> None:
358 if self.f_in == -1:
359 self.f_in = os.dup(0)
360 if self.f_out == -1:
361 self.f_out = os.dup(1)
362
363 def get_reader(self) -> ReadlineAlikeReader:
364 if self.reader is None:

Callers 1

__post_init__Method · 0.45

Calls 1

dupMethod · 0.45

Tested by

no test coverage detected