MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / StdOutputFile

Class StdOutputFile

tools/python-3.11.9-amd64/Lib/idlelib/run.py:458–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456
457
458class StdOutputFile(StdioFile):
459
460 def writable(self):
461 return True
462
463 def write(self, s):
464 if self.closed:
465 raise ValueError("write to closed file")
466 s = str.encode(s, self.encoding, self.errors).decode(self.encoding, self.errors)
467 return self.shell.write(s, self.tags)
468
469
470class StdInputFile(StdioFile):

Callers 2

__init__Method · 0.90
handleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected