MCPcopy Index your code
hub / github.com/bpython/bpython / close

Method close

bpython/curtsiesfrontend/repl.py:223–228  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

221 raise OSError(errno.EBADF, "sys.stdin is read-only")
222
223 def close(self) -> None:
224 # hack to make closing stdin a nop
225 # This is useful for multiprocessing.Process, which does work
226 # for the most part, although output from other processes is
227 # discarded.
228 pass
229
230 @property
231 def encoding(self) -> str:

Callers 1

run_with_ttyFunction · 0.45

Calls

no outgoing calls

Tested by 1

run_with_ttyFunction · 0.36