MCPcopy Index your code
hub / github.com/RustPython/RustPython / __post_init__

Method __post_init__

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

Source from the content-addressed store, hash-verified

348 config: ReadlineConfig = field(default_factory=ReadlineConfig, repr=False)
349
350 def __post_init__(self) -> None:
351 if self.f_in == -1:
352 self.f_in = os.dup(0)
353 if self.f_out == -1:
354 self.f_out = os.dup(1)
355
356 def get_reader(self) -> ReadlineAlikeReader:
357 if self.reader is None:

Callers 1

__post_init__Method · 0.45

Calls 1

dupMethod · 0.45

Tested by

no test coverage detected